Mime-Version: |
1.0 (Apple Message framework v753) |
Sender: |
|
Date: |
Mon, 14 Apr 2008 10:03:50 -0600 |
Reply-To: |
|
Subject: |
|
Content-Transfer-Encoding: |
7bit |
In-Reply-To: |
<p06240814c4280e67d5fa@[10.0.0.1]> |
Content-Type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
From: |
|
Parts/Attachments: |
|
|
Hi John,
On Apr 13, 2008, at 1:31 PM, John Delacour wrote:
> tell application "iTunes"
> set _playlist1 to playlist "music"
> set _tracks to tracks in _playlist1
> set _playlist2 to make playlist with properties
> {name:"TEMP"}
> set _shortlist to items 1 through 12 of _tracks
> repeat with _track in _shortlist
> set _alias to location of _track
> add _alias to _playlist2
> end repeat
> end tell
THAT WORKS!!!!!
So it's not the 'track' that I should focus on, rather it is the
LOCATION of the FILE of said 'track'.
Thanks.
That was not, repeat NOT, intuitively obvious.
Regards,
Chuck
|
|
|