F8 It'll open iTunes if not running and play/pause if open.
F7 F8 F9 iTunes keys
F10 F11 F12 Windows main volume
shift F3 Print screen
shift F4 Task manager
+F3::Send {PrintScreen}
+F4::Send, {SHIFTDOWN}{CTRLDOWN}{ESC}{SHIFTUP}{CTRLUP}
F7::IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{LEFT} ; < previous
return
#F8::IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, {SPACE} ; play/pause toggle
return
F9::IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, ^{RIGHT} ; > next
return
F10::Send {Volume_Mute}
F11::Send {Volume_Down 3}
F12::Send {Volume_Up}
DetectHiddenWindows, on
F8::
IfWinNotExist, ahk_class iTunes
{
Run %ProgramFiles%\iTunes\iTunes.exe ;launch program
return
}
IfWinExist, ahk_class iTunes
ControlSend, ahk_parent, {SPACE} ; play/pause toggle
returnMod from Qins




