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


Click here to return to the 'Create iTunes shuffle mode toggle shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create iTunes shuffle mode toggle shortcuts
Authored by: DougAdams on Feb 25, '05 10:49:14AM
No need for two scripts. This single script will toggle shuffle to whatever it isn't:
tell application "iTunes"
	set shuffle of library playlist 1 to not (shuffle of library playlist 1)
end tell

---
Doug's AppleScripts for iTunes
http://www.malcolmadams.com/itunes/

[ Reply to This | # ]

And more so
Authored by: DougAdams on Feb 25, '05 01:11:44PM
You know, why should the main library have all the fun? This toggler will toggle shuffle for the selected playlist:
tell application "iTunes"
	set this_playlist to view of front browser window
	set shuffle of this_playlist to not (shuffle of this_playlist)
end tell
Or, for a real good shufflin':
tell application "iTunes"
	tell view of front browser window
		repeat 7 times
			set shuffle to false
			set shuffle to true
		end repeat
	end tell
end tell

---
Doug's AppleScripts for iTunes
http://www.malcolmadams.com/itunes/

[ Reply to This | # ]