Re: [Pythonmac-SIG] py-appscript: Rating a Song with Applescript

2010-01-19 Thread hengist.podd e-mail
William Reardon wrote: > I'm attempting to programmatically rate a song in iTunes.  I hacked together > the following snippet in Applescript, but after reading the docs, I can't > figure out how to convert the "every file..." mechanic to the py-appscript > equivalent.  Any suggestions? > > tell

[Pythonmac-SIG] py-appscript: Rating a Song with Applescript

2010-01-18 Thread William Reardon
I'm attempting to programmatically rate a song in iTunes. I hacked together the following snippet in Applescript, but after reading the docs, I can't figure out how to convert the "every file..." mechanic to the py-appscript equivalent. Any suggestions? tell application "iTunes" set ts to (eve