I'm thinking the script will (loosely):
set WIN_USEHANDLE on
launch an application
GetActiveWindow
SetFocus
and from then on, anything happening in the script will happen within that window. Then, when I launch the script a second time, the handle for GetActiveWindow will be different, so the second instance of the script will deal with the second window.
It looks like the image recognition calls can use the Window title as the haystack - can it use the window handle?
Do I have to SetFocus before each command?
Do I need to size the windows so they don't overlap?
Do I sound crazy?
