Last active
December 11, 2018 11:36
-
-
Save spencerwooo/7b6dea78d910143f263d7256dd4bed43 to your computer and use it in GitHub Desktop.
My autohotkey
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. | |
#q:: ; Windows + Q closes active window | |
WinGetTitle, Title, A | |
PostMessage, 0x112, 0xF060,,, %Title% | |
return | |
#t:: ; Windows + T open Terminus | |
Run "C:\Users\spenc\AppData\Local\terminus\Terminus.exe" | |
Return | |
;next song: win+] | |
#]:: ;the + means shift | |
Send {Media_Next} | |
return | |
;previous song: win+[ | |
#[:: | |
Send {Media_Prev} | |
return | |
;play/pause: win+\ | |
#\:: | |
Send {Media_Play_Pause} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment