Re: Problem with iTunes & AppleScript (1.8.3)
Re: Problem with iTunes & AppleScript (1.8.3)
- Subject: Re: Problem with iTunes & AppleScript (1.8.3)
- From: Dave Balderstone <email@hidden>
- Date: Thu, 27 Jun 2002 17:16:48 -0600
On 6/27/02 at 4:06 PM, Martin Michel wrote:
>
The following code worked before but does not after I updated to AS
>
1.8.3:
>
>
tell application "iTunes"
>
set the_library to name of playlist 1
>
set the_tracks to every file track of playlist the_library
>
repeat with the_track in the_tracks
>
set the_artist to artist of the_track
>
display dialog the_artist
>
end repeat
>
end tell
>
>
I get an error that the variable "the_tracks" is not defined. In general
>
it seems that I cannot select tracks in playlists via AppleScript
>
anymore.
Try it with any playlist but playlist 1 (which here is "Library").
Curious...
djb
_______________________________________________
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.