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: Martin Michel <email@hidden>
- Date: Thu, 27 Jun 2002 22:09:40 +0200
Am Donnerstag den, 27. Juni 2002, um 21:46, schrieb John Coelho:
>
On Thursday, June 27, 2002, at 07:06 AM, Martin Michel wrote:
>
>
> Hi,
>
>
>
> I am using Mac OS X 10.1.5, iTunes 2.0.4 & AppleScript 1.8.3
>
>
>
> Here is my problem:
>
>
>
> 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.
>
>
>
> Are there others who have the same problems? Is this a bug? Or is it
>
> just me...(hopefully)?
>
>
>
>
I get the same error with the configuration you listed above. Did this
>
script work with iTunes 2.0.4 before AppleScript 1.8.3 or perhaps you
>
upgraded to a newer version of iTunes?
It worked before I upgraded to AppleScript 1.8.3, I am using a lot of
scripts which need to get the contents of a playlist. And the iTunes
version is still the same. For me it is a mystery...I am really
confused ;-)
Thanks for providing feedback!
Martin
>
>
>
> With kind regards,
>
>
>
> Martin
>
> _______________________________________________
>
> 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.
_______________________________________________
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.