• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessing playlists /tracks by id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Is: Setting File & Creator Type access error; Was: Re: changing the "open with application" value for a file
  • Next by Date: Find index of list to find item in another list
  • Previous by thread: Re: Is: Setting File & Creator Type access error
  • Next by thread: Find index of list to find item in another list
  • Index(es):
    • Date
    • Thread