Hi
Never written a script in DOpus before so I'm a bit lost and could use some guidance.
I want to write a script that does this:
For each selected file in the active lister (ideally with folder recursion)
get the albumartist metadata entry
if albumartist = empty
get the artistname metadata entry
if artistname != empty
set the artistname metadata entry to artistname metadata entry
I had a go at modifying this example:
gpsoft.com.au/help/opus11/i ... erface.htm
But can't seem to make it do anything.
I also checking it was even getting the albumartist name and putting it into a dialog as a test, but can't even get a dialog to show up when I select a file and click the button I have the script under.
Any code examples would be most welcome!
The reason I want to do this is because iTunes Music on the iPhone no longer lists compilation artists under the artists filter unless the album artist name is filled in, but I have thousands of music files that I think were pre-albumartist metadata so are all empty. Clearly I don't want to hand edit all of these and DOpus scripting would be perfect for this.
Cheers
Matt