Created
September 22, 2016 16:08
-
-
Save krokofant/32ccdc5f79c614b5f112855218f1e608 to your computer and use it in GitHub Desktop.
AHKScript to add Volume Controls for Apple Keyboard for Windows
This file contains hidden or 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. | |
; F16-F9, SC067-SC06A | |
SC067:: ; Volume Mute | |
Send {Volume_Mute} ; Mute/unmute the master volume. | |
return | |
SC068:: ; Volume Down | |
Send {Volume_Down 1} ; Lower the master volume by 1 intervals. | |
return | |
SC069:: ; Volume Up | |
Send {Volume_Up 1} ; Raise the master volume by 1 interval (typically 5%). | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment