msavatar Posted August 21, 2015 Share Posted August 21, 2015 hello guysim new in autoit and i want ask for ImageSearchcode #include <ImageSearch.au3> HotKeySet("p", "checkForImage") global $y = 0, $x = 0 Func checkForImage() Local $search = _ImageSearch('checkImage.bmp', 0, $x, $y, 0) If $search = 1 Then MouseMove($x, $y, 10) EndIf EndFunc while 1 sleep(200) WEndi Need ask 1- can make code serch on client or any window under active window or no ?2- when start script he serch on image just one time when start ( can make image serch avery 3 mint ?sry for my bad english Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now