AHK noob here. I'm looking to monitor 1-4 programs which run minimised for a specific change to the window title using autohotkey. When the change is detected in any of the programs, an alert pops up to alert the user of the change or the script could bring the program to the front.
The change in the window title (extracted using the AutoIt Spy tool) is from:
Lab - [Workspace
... after this point the title text is dynamic
to either:
Lab - [Results
...etc
or simply
WARNING
The 4 programs are identical so as they're running out of separate folders stored as follows:
c:\program1\program.exe
c:\program2\program.exe
c:\program3\program.exe
c:\program4\program.exe
Could the PID be retrieved for each program so that the script can distinguish between the 4 and bring the correct one to the front? Any help from the community would be much appreciated.