Last active
November 16, 2018 02:34
-
-
Save skunkworker/db17f1cd8a34522fd036fbf44cbc1151 to your computer and use it in GitHub Desktop.
AutoHotkey mac keyboard play/pause, back/next, volume up, down, mute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
;F10 | |
^F10:: | |
Sendinput, {F10} | |
Return | |
F10::Send {Volume_Mute} | |
;F11 Fullscreen | |
Sendinput, {F11} | |
Return | |
F11::Send {Volume_Down 5} | |
;F12 | |
Sendinput, {F12} | |
Return | |
F12::Send {Volume_Up 5} | |
;F8 play/pause | |
Sendinput, {F8} | |
return | |
F8::Send {Media_Play_Pause} | |
;F7 | |
Sendinput, {F7} | |
return | |
F7::Send {Media_Prev} | |
;F9 | |
Sendinput, {F9} | |
return | |
F9::Send {Media_Next} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment