The windows that I am running have an initial "Loading" window that pops up when running the app.
I know I can get the PID of each window buy doing something like this:
Code: Select all
RUN, %ComSpec% /c %ProgramPath%,,Hide, ProgramProc
Id like to avoid launching each window one by one and doing
Code: Select all
WinWait, %Window%
Is there a way to launch all the windows at once and track the PID from the loading screen PID to the main windows PID?
I need this so I can have a gui window that shows:
Program1: Running
Program2: Running
Program3: Running
Program4: Running
and then say if one window closes it'll say:
Program1: Not running
Program2: Running
Program3: Running
Program4: Running
it would ideally use a settimer to keep track of the running windows or if there is some better way please let me know I'm excited to hear some input from others about my project
Also I haven't switched over to ahk version 2 yet I am still on the previous latest version
[Mod edit: Topic moved to v1 help.]