iTunes control from keyboard?

Discussion in 'Mac Apps and Mac App Store' started by jvaska, Jul 27, 2004.

  1. jvaska macrumors 6502

    Joined:
    Feb 18, 2002
    Location:
    Haiti/NYC
    #1
    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?
     
  2. abhishekit macrumors 65816

    abhishekit

    Joined:
    Nov 6, 2003
    Location:
    akron , ohio
    #2
    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
     
  3. HexMonkey Administrator

    HexMonkey

    Staff Member

    Joined:
    Feb 5, 2004
    Location:
    New Zealand
    #3
    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.
     
  4. yinyang macrumors regular

    Joined:
    Aug 14, 2003
    Location:
    sunny brisbane
    #4
  5. scott182 macrumors member

    Joined:
    May 23, 2004
    Location:
    Madison, WI
    #5
    You might also want to check out SizzlingKeys. It is similar to Synergy, but it's free and doesn't put the controls in the menubar, rather it uses just hotkeys.

    http://www.yellowmug.com/sk4it/
     
  6. jvaska thread starter macrumors 6502

    Joined:
    Feb 18, 2002
    Location:
    Haiti/NYC
    #6
    Oh wow, this is perfect. Such a simple little utility.

    Thanks for the tip... ;)
     
  7. hansen macrumors regular

    Joined:
    Feb 12, 2004
    Location:
    Denmark

Share This Page