Getting the ID of a window created from running a .bat file? Topic is solved
-
- Posts: 133
- Joined: 19 Oct 2015, 16:21
Getting the ID of a window created from running a .bat file?
I'm trying to figure out how to get the unique ID of the window that is made when AHK uses the run command pointing to a batch file. I'm anticipating circumstances in which other command windows may also be running and possibly active at the time, so just getting the active window or ahk_exe cmd.exe isn't quite good enough...
-
- Posts: 133
- Joined: 19 Oct 2015, 16:21
Re: Getting the ID of a window created from running a .bat file? Topic is solved
Nevermind, I see in the documentation for v2 there is &OutputVarPID in the run command.