Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Source panel' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Source panel
Authored by: DougAdams on May 16, '03 11:25:56AM
Use this routine to determine the true object path of the CD in the Source pane. Somethime source 3 is iPod or something else:
tell application "iTunes"
        repeat with i from 1 to the count of sources
                if kind of source i is audio CD then
                        set myPlaylist to audio CD playlist 1 of source i
                        exit repeat -- optional
                end if
        end repeat
end tell
You can see more examples of scripting playlists on this page.

Doug
Doug's AppleScripts for iTunes

---



[ Reply to This | # ]