Skip to content

Instantly share code, notes, and snippets.

@madewokherd
Created February 21, 2019 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madewokherd/99bf9fbcc270134a14663e6a674c90ed to your computer and use it in GitHub Desktop.
Save madewokherd/99bf9fbcc270134a14663e6a674c90ed to your computer and use it in GitHub Desktop.
autohotkey script that displays active window information with Win+F
DetectHiddenWindows, On
SendMode Input
#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