CORRECTION Is there a way to show if a file is protected?

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

CORRECTION Is there a way to show if a file is protected?

Postby gapcnet » Mon Nov 26, 2007 8:03 pm

I had a bug in my code.

From a new MediaMonkey user that fell in love with it quickly


Via a VBscript I am able to see if a file is [drm] Protected. Can this be added to a MediaMonkey script that will windup allowing me to sort or find all protected files?

Thanks in advance.

' Set the folder
fldr="C:\Documents and Settings\Guy\My Documents\My Music\Bill Douglas\A Place Called Morning"

Set objShell = CreateObject("Shell.Application")

Set objFolder = objShell.Namespace(fldr)
HeaderName = objFolder.GetDetailsOf(objFolder.Items, 28)
For Each strFileName in objFolder.Items
Wscript.Echo i & vbtab & HeaderName _
& ": " & objFolder.GetDetailsOf(strFileName, 28)
Next
Guy Austrian
gapcnet
 
Posts: 3
Joined: Mon Nov 26, 2007 6:15 pm

Postby trixmoto » Tue Nov 27, 2007 4:32 am

Yes, this is definitely possible. Are you wanting help to write this script yourself, or are you requesting that someone else write it?

If you'd like me to have a go, please email me a small track with DRM (as I don't have any) so I can test this and see what I can do.

If you want to have a go yourself, great! What help do you need? :)
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9711
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Postby gapcnet » Tue Nov 27, 2007 4:59 am

Thanks for you offer! I'll try and find a small DRM song to send you.

BTW - If I can ever return the favor with windows based VBscript, WMI, ADSI, HTA's just let me know.
Guy Austrian
gapcnet
 
Posts: 3
Joined: Mon Nov 26, 2007 6:15 pm

Postby trixmoto » Tue Nov 27, 2007 8:08 am

I might hold you to that! :)

If you can do VBScript outside of MM, it's not a big step to doing it within MM. Maybe once I've written this script for you, you'll be able to see the steps needed.
Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9711
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK

Postby trixmoto » Thu Nov 29, 2007 7:48 am

Check out my scripts at trixmoto.net and subscribe to my RSS feed for updates.
Also check out my Uniface blog.
Get a free Dropbox account! :o

Image
trixmoto
 
Posts: 9711
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK


Return to Need Help with Addons?

Who is online

Users browsing this forum: sameera and 12 guests