Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jvaska

macrumors 6502
Original poster
Feb 18, 2002
446
75
Can't find anything about this although I can only imagine it's possible.

I really like the Party Shuffle mode but every now and then a dumb song comes along and I wish I could simply push some keys on the keyboard to skip to the next song...without having to bring the window to the foreground...

I'm pretty sure Applescript could do this but I really have no idea how to go about making that happen.

Anybody ever hear of somebody doing something like this in the past?
 

abhishekit

macrumors 65816
Nov 6, 2003
1,297
0
akron , ohio
left arrow for previous song, right arrow for next song
look up iTunes-help-keyboard shortcuts for other shortcuts.

Also I use synergy, where you can set up hot keys for various operations like next song, previous song. So you dont need to have iTunes as the active application.

cheers
 

HexMonkey

Administrator emeritus
Feb 5, 2004
2,240
504
New Zealand
First you need a program that runs applications/AppleScripts via a keystroke. There are several available, so look around for one you like (VersionTracker is a good place to look). I use Key Xing, but it's no longer available for download from the company's site. You can still get it at some mirrors however, such as here.

The other thing you need is the script. Open Script Editor (Applications/AppleScript/Script Editor) and type in the following code:

Code:
tell application "iTunes"
	play (next track)
end tell

Then save as either script or application (depending on what the application launcher wants), with all the options in the save panel unchecked. Finally, choose the script from the application launcher and assign it a keystroke.
 

jvaska

macrumors 6502
Original poster
Feb 18, 2002
446
75
yinyang said:
this will put rewind, play/pause, forward in your menu bar, and it's free.

Oh wow, this is perfect. Such a simple little utility.

Thanks for the tip... ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.