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
CORRECTION Is there a way to show if a file is protected?
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?
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?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
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.
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.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
This script is now available here: http://www.mediamonkey.com/forum/viewtopic.php?t=23047
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.