S2_Mac
03-11-2007, 08:08 PM
I've only got the one Mac here today, so I can't fully test this. Does this work on your machine?
-- Sets the front window to the old "library playlist 1" view:
tell application "iTunes"
set view of front browser window to user playlist "Music" of source "Library"
end tell
-- Tests the front window's view for the old "library playlist 1":
tell application "iTunes"
set the_playlist to view of front browser window
if the_playlist is user playlist "Music" of source "Library" then
error "YAY"
else
error "NAY"
end if
end tell
I'm not sure what other uses "library playlist 1" was put to; think this is any help?
S2
-- Sets the front window to the old "library playlist 1" view:
tell application "iTunes"
set view of front browser window to user playlist "Music" of source "Library"
end tell
-- Tests the front window's view for the old "library playlist 1":
tell application "iTunes"
set the_playlist to view of front browser window
if the_playlist is user playlist "Music" of source "Library" then
error "YAY"
else
error "NAY"
end if
end tell
I'm not sure what other uses "library playlist 1" was put to; think this is any help?
S2