At 12:11 -0600 13/4/08, Chuck Pelto wrote:
> set testList to (every track of thisPlaylist) as list
> ...
> add testList to wakePlaylist
>
>
>So....what am I doing wrong here?
addÊv : add one or more files to a playlist
add list of alias : the file(s) to add
A track is not an alias. Therefore:
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
JD