Scripting creation of smart playlists in iTunes
Hi,
I am exploring the possibility of scripting the creation of smart playlists in iTunes. As I understand it this can only be achieved with GUI scripting. I have come across a couple of threads which suggest this can be achieved:
https://discussions.apple.com/thread/20 … p;tstart=0
http://macscripter.net/viewtopic.php?id=9967
however both generate an error for me. The problem appears to be around the line "tell scroll area 1 of group 1 of window 1". I get the error:
System Events got an error: Can't get group 1 of window 1 of process "iTunes". Invalid index.
I wonder if someone could help me get this working?
Thanks,
Nick
Macbook Pro, Mac OS X (10.7), 2.66 GHz Intel Core i7 8GB RAM