Re: Google and iTunes
Re: Google and iTunes
- Subject: Re: Google and iTunes
- From: christian vick <email@hidden>
- Date: Mon, 22 Apr 2002 11:23:15 +0200
>
And: If you want to get the name of the library playlist in iTunes but
>
do not know which system language your customer is using, please use the
>
following code. I got it from a friend:
>
>
on run
>
with timeout of 6000 seconds
>
-- Do Stuff
>
set LibraryPlaylist to (my FindMasterLibrary() as string)
>
-- Do Stuff
>
end timeout
>
end run
>
>
on FindMasterLibrary()
>
tell application "iTunes"
>
activate
>
set AllPlaylists to name of every playlist
>
repeat with LibraryPL in AllPlaylists
>
if the class of playlist LibraryPL is library playlist
>
then return LibraryPL
>
end repeat
>
end tell
>
end FindMasterLibrary
I like one liners better:
'name of library playlist 1'
Greetings
cris ;-)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.