Created
April 27, 2014 15:59
-
-
Save L1fescape/11349155 to your computer and use it in GitHub Desktop.
AutoHotkey Bindings
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
; Map ctrl-backspace to delete (similar to MacOS) | |
^BS:: | |
Send {DEL} | |
return | |
; Map Caps lock to escape | |
Capslock::Esc | |
; Toggles default audio device in Control Panel (switches between headset and speakers). | |
!s:: | |
ScrollLock:: | |
toggle:=!toggle ;toggles up and down states. | |
Run, mmsys.cpl | |
WinWait,Sound | |
if toggle | |
ControlSend,SysListView321,{Down 5} | |
Else | |
ControlSend,SysListView321,{Down 6} | |
ControlClick,&Set Default | |
ControlClick,OK | |
return | |
; Opens Sound Menu | |
!m:: | |
Run, mmsys.cpl | |
return | |
; Screenshot | |
!c:: | |
Run, C:\WINDOWS\system32\SnippingTool.exe | |
WinWait,Snipping Tool | |
ControlFocus, Snipping Tool | |
WinWait,Snipping Tool | |
Send {CTRL down}{N down} | |
Send {CTRL up}{N up} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment