February 17, 2020

Filed under: General — Dorian @ 1:53 pm

Did you know that as of Version 14.4.05, WaitScreenImage can also return x and y mouse coordinates of the found image?

The optional arguments x and y can be used to specify return variables which will store the position of the image found. This is useful as it means as well as waiting for a screen image you can interact with it without using a subsequent FindImagePos call.

Here’s a usage example :

//with position returned
WaitScreenImage>%SCRIPT_DIR%\save.bmp,0.7,CCOEFF,XArr,YArr
MouseMove>XArr_0,YArr_0

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment