Re: Accessing playlists /tracks by id
Re: Accessing playlists /tracks by id
- Subject: Re: Accessing playlists /tracks by id
- From: Matt Neuburg <email@hidden>
- Date: Wed, 01 Jul 2009 07:26:51 -0700
- Thread-topic: Accessing playlists /tracks by id
On Mon, 29 Jun 2009 23:19:40 +0200, Michael S?ssner
<email@hidden> said:
>I am rather new to applescript.
>
>I have tried to setup an Automator script which uses an AppleScript
>during the different processing steps.
>
> From the iTunes automator object i have received a playlist
>
>{user playlist id 25501 of source id 42 of application "iTunes"}
>
>I do know how to process that information. I would like access all the
>tracks of the defined playlist.
Actually what you've received is a *list* of playlists (a list containing
one item).
So, suppose you have set L to your incoming data. Then:
get every track of item 1 of L
Hope that helps - m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden