Created
October 5, 2021 03:54
-
-
Save joshuah345/ec25515fffec98ff2ca90fa73076629e to your computer and use it in GitHub Desktop.
AHK Media Keys (Magicforce 68 inspired)
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. | |
#SingleInstance, ignore ; Only allows this script to have one instance. | |
; #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. | |
; Media Keys | |
; Volume up | |
>!m:: | |
Send, {Volume_Up} | |
Return | |
;Volume Down | |
>!n:: | |
Send, {Volume_Down} | |
Return | |
;Mute | |
>!b:: | |
Send, {Volume_Mute} | |
Return | |
; Play/Pause | |
>!x:: | |
Send, {Media_Play_Pause} | |
Return | |
>!z:: | |
Send, {Media_Prev} | |
Return | |
>!c:: | |
Send, {Media_Next} | |
Return | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment