Code:
;WinKey+Down to "Play/Pause"
#Down:: SendMessage, 0x111, 18808, , , ahk_class WMPlayerApp
;WinKey+Up to "Stop"
#Up:: SendMessage, 0x111, 18809, , , ahk_class WMPlayerApp
;WinKey+Left to "Previous Song"
#Left:: SendMessage, 0x111, 18810, , , ahk_class WMPlayerApp
;WinKey+Right to "Next Song"
#Right:: SendMessage, 0x111, 18811, , , ahk_class WMPlayerApp
;WinKey+PgUp to "Volume Up"
#PgUp:: SendMessage, 0x111, 18815, , , ahk_class WMPlayerApp
;WinKey+PgDn to "Volume Down"
#PgDn:: SendMessage, 0x111, 18816, , , ahk_class WMPlayerApp
;WinKey+End to "Mute/Unmute"
#End:: SendMessage, 0x111, 18817, , , ahk_class WMPlayerApp
Main features of "PostMessage / SendMessage" is can send command in background, which mean works with minimode too, even u winhide the window media player, it still work as charm~
