Skip to content

Instantly share code, notes, and snippets.

@erkantaylan
Created May 22, 2017 10:36
Show Gist options
  • Select an option

  • Save erkantaylan/a2ada6b25fa193fa371fb8c44c97321d to your computer and use it in GitHub Desktop.

Select an option

Save erkantaylan/a2ada6b25fa193fa371fb8c44c97321d to your computer and use it in GitHub Desktop.
Autohotkey Active Window Process Name
GetActiveWindowProcessName() {
WinGet, Active_ID, ID, A
WinGet, Active_Process, ProcessName, ahk_id %Active_ID%
return Active_Process
}

ghost commented Jun 24, 2019

Copy link
Copy Markdown

This helped me, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment