Last active
March 9, 2020 13:37
-
-
Save Mystler/fcbdc90a5b97556637c46e518a6cabe4 to your computer and use it in GitHub Desktop.
My AutoHotkey Setup
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. | |
NumpadEnd::Numpad1 | |
NumpadDown::Numpad2 | |
NumpadPgDn::Numpad3 | |
NumpadLeft::Numpad4 | |
NumpadClear::Numpad5 | |
NumpadRight::Numpad6 | |
NumpadHome::Numpad7 | |
NumpadUp::Numpad8 | |
NumpadPgUp::Numpad9 | |
NumpadIns::Numpad0 | |
NumpadDel::NumpadDot | |
; Elite dangerous re-focus game window | |
1joy3:: | |
IfWinExist, Elite - Dangerous (CLIENT) | |
WinActivate ; use the window found above | |
return | |
~Media_Play_Pause:: | |
if WinExist("ahk_exe Leawo Blu-ray Player.exe") | |
{ | |
WinGet, active_id, ID, A | |
WinActivate, Leawo Blu-ray Player | |
Send {Space} | |
WinActivate, ahk_id %active_id% | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment