[Pythonmac-SIG] Fun with appscript
Ray Slakinski
ray.slakinski at gmail.com
Fri Aug 27 21:35:37 CEST 2004
I just installed appscript, and I'm using it to add mp3 files to a playlist.
I can get it to add the track to the main library, but am having some
issues getting it over to the playlist.
To add it to the main Library I used the following command:
t.add('hardDrive:Users:kier:Desktop:hall.mp3')
I have tried this to get it into a playlist:
app(u'/Applications/iTunes.app').sources['Library'].playlists['myPlayList'].add('hardDrive:Users:kier:Desktop:hall.mp3')
I've also tried to set the playlist
(add('hardDrive:Users:kier:Desktop:hall.mp3').set) before adding, but
the track never seems to want to go into the playlist.
Any help would be great!
--
[-----]
Ray Slakinski
GnuPG Fingerprint:
9065 5C54 2C4A B13B 52BB C37A 125B F012 08A7 0A54
Blog: http://ddll.sdf1.net
More information about the Pythonmac-SIG
mailing list