07-31-2006, 09:52 PM
Create a function, insert "wait for image" command using Find Image dialog. Repeatedly wait for image, run macro, wait for not image.
Example
Run the function. To stop it, use Threads dialog or shutdown -6 0 "FunctionName".
While it runs, it consumes much CPU time, especially on slow computers. You can see it in Windows Task Manager (Ctrl+Alt+Delete). It is possible to reduce consumed CPU time by reducing the search rectangle. Read more in QM Help, scan topic.
Example
Run the function. To stop it, use Threads dialog or shutdown -6 0 "FunctionName".
While it runs, it consumes much CPU time, especially on slow computers. You can see it in Windows Task Manager (Ctrl+Alt+Delete). It is possible to reduce consumed CPU time by reducing the search rectangle. Read more in QM Help, scan topic.
