; Make the script work even if the window is hidden
DetectHiddenWindows, on
; Ctrl-Win-Alt-Right Arrow, Skip song
^#!Right::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, , {RIGHT} ; Next
return
; Ctrl-Win-Alt-Up Arrow, Volume Up
^#!Up::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, , {UP} ; VolUp
return
; Ctrl-Win-Alt-Down Arrow, Volume Down
^#!Down::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, , {DOWN} ; VolDown
return
; Ctrl-Win-Alt-Space, Pause/Resume Playing
^#!Space::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, , {SPACE} ; PlayToggle
return
; Ctrl-Win-Alt-Plus, Thumbs up a song
^!F11::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, ahk_parent, {NumpadAdd} ; ThumbsUp
return
; Ctrl-Win-Alt-Minus, Thumbs down a song
^!F12::
IfWinExist, ahk_class ApolloRuntimeContentWindow
ControlSend, , - ; ThumbsDown
return
; Ctrl-Win-Alt-X, Closes the window
^#!X::
IfWinExist, Pandora
WinClose ; Close Window
return