Using Quicksilver to Shuffle and Notify

Here’s a simple way to use quicksilver to toggle your itunes shuffle on and off. I’m not sure where I got the original script from…I may have tried a variation of something here?

In any case, the main problem with the shuffle scripts I found online was that you wouldn’t get a notification that the toggle actually happened. But quicksilver makes that easy. The addition of the “tell quicksilver” lines in the script below worked perfectly. (I also believe Growl needs to be installed for this…)

As always, save this script in a folder that’s scanned into the qs catalog, and find a memorable key combo to set as the default. I use “shuff.”

Here’s the script:
tell application “iTunes”
if shuffle of current playlist is false then
set shuffle of current playlist to true
tell application “Quicksilver”
show notification “Shuffle On”
end tell
else
set shuffle of current playlist to false
tell application “Quicksilver”
show notification “Shuffle Off”
end tell
end if
end tell

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: