Created
October 25, 2015 15:47
-
-
Save madewokherd/51858cdbd21385d08cfa to your computer and use it in GitHub Desktop.
ahk hotkey to show information about the active window
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
DetectHiddenWindows, On | |
#f:: | |
WinGet, ID, ID, A | |
WinGet, ProcessName, ProcessName, ahk_id %ID% | |
WinGet, PID, PID, ahk_id %ID% | |
WinGetTitle, Title, ahk_id %ID% | |
WinGetClass, Class, ahk_id %ID% | |
MsgBox, Process Name: %ProcessName%`nProcess ID: %PID%`nHWND: %ID%`nTitle: %Title%`nClass: %Class% | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment