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. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
; Global variable to store the ID of the window that was active before PureRef | |
global lastActiveWindow := 0 | |
#Up:: ; REPLACE WITH HOTKEY OF CHOICE | |
IfWinExist, ahk_exe PureRef.exe | |
{ |