I’ve got an issue when running on Windows 7 which is causing me lots of grief!
I was just wondering if anyone else has had a similar issue, or if its a known bug, is there a workaround etc…
The same scripts and setup did not have this issue when running on an XP box.
When an object does not exist and the script is attempting to click on it, or check for its existence the application is becoming hidden.
This is preventing any further interaction with the application. A click at any co-ords on the screen bring the app back into the foreground.
My attempted workaround was to set the ImageSearchCount to 1 (which prevents the auto ScreenRefresh and seems to resolve the hidden application issue) and have a number of custom functions for waiting for objects etc.
Unfortunately every now and again a ScreenRefresh is required to sort out some imaging issues after a drag and drop etc. which is affecting the reliability of the scripts I’m trying to run in a batch.
Can anyone help with this?