; Make winamp controllable by pause/back/forward keys on my multimedia keyboard ; ; Note: Currently, this is just set up for transcribing specific pieces, and isn't meant to be used most of the time... only in specific situations where I shut down iTunes and/or disable all.ahk. #SingleInstance force ; try to avoid having caps-lock missed Process, Priority, , High ; Hitting the pause key will toggle play/pause in iTunes Pause:: Media_Play_Pause:: CapsLock:: ; in case the user used caps-lock, and it accidentally slipped through, and has toggled the caps lock, it will now be very hard to fix that (since they'll have to wait for it to slip through again), so make sure we undo the effects of that: SetCapsLockState, Off IfWinNotExist ahk_class Winamp v1.x return ControlSend, ahk_parent, c ; Pause/Unpause return Media_Next:: Browser_Forward:: IfWinNotExist ahk_class Winamp v1.x return ControlSend, ahk_parent, {right} return Media_Prev:: Browser_Back:: Tab:: IfWinNotExist ahk_class Winamp v1.x return ControlSend, ahk_parent, {left} return