How can i press keyboard any key ?
HotKeySet ("g") is it true ?
First time , i am using autoit, and i don't know c++ , i am noob, sory it
HotKeySet ("g") is it true ?
First time , i am using autoit, and i don't know c++ , i am noob, sory it
#include <ImageSearch.au3> HotKeySet("{ESC}", "Terminate") $x = 0 $y = 0 While 1 $res1 = _imagesearch('u.png',0, $x, $y, 0) If $res1 = 1 Then MouseMove($x, $y,10) HotKeySet ("g") EndIf WEnd Func Terminate() Exit 0 EndFunc