Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes track location



Hi Jeff,

You can use the 'add' command. e.g.

tell application "iTunes"
set lib_pl to first library playlist
set first_trk to first track of lib_pl
set trk_loc to location of first_trk
-- use location of track to get track reference
set trk_ref to (add trk_loc to lib_pl)
{location of trk_ref, trk_loc}
end tell

gl,
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.