Hazix 0 Posted October 22, 2022 Share Posted October 22, 2022 Hello everyone. Its been a while since i last time used AutoIt.. Now i have to start from beggining. Doing Simple training with ImageSearch and have something like that #include <ImageSearch2015.au3> $x = 0 $y = 0 $waitTime = 2 $picture = "obraz.bmp" $result = _WaitForImageSearch($picture, $waitTime, 1, $x, $y, 0, 0) If $result = 1 Then Run("notepad.exe") Sleep(2000) Send("Okey Found It.") Else Sleep(2000) EndIf Well trying to figure out how to create loop to make him looking for image every 1 or 2 seconds untill he finds it. If Result = 0 Then looking again Link to post Share on other sites
Nine 1,606 Posted October 23, 2022 Share Posted October 23, 2022 See help file under Language Reference / Loop Statements “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector GIF Animation (cached) Screen Scraping Link to post Share on other sites
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