dfz1100 Posted September 7, 2012 Share Posted September 7, 2012 How would i scan 4 different locations for a pixel change of grey to red then press a arrow key according to the place it detected the color change? Link to comment Share on other sites More sharing options...
stormbreaker Posted September 7, 2012 Share Posted September 7, 2012 Check for pixelsearch() and send() functions in help file ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
MrMitchell Posted September 7, 2012 Share Posted September 7, 2012 dfz1100,In the future, please create your topics with more meaningful titles. This is already a help forum so "help" as a title isn't really that helpful for someone looking at the posts...As for your original question, have you got a screenshot containing the 4 locations? That will help. Thanks! Link to comment Share on other sites More sharing options...
Blue_Drache Posted September 7, 2012 Share Posted September 7, 2012 May I suggest reading the forum rules before posting the screenshot of the game you're trying to automate? Attckdog 1 Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
stormbreaker Posted September 7, 2012 Share Posted September 7, 2012 Though I had this feeling, I initially ignored it, but I have seen that the PixelSearch functions have mostly been misused (or so we call it), for these things a lot... Although this function is an inseparable part of AutoIt language. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Link to comment Share on other sites More sharing options...
Blue_Drache Posted September 7, 2012 Share Posted September 7, 2012 Though I had this feeling, I initially ignored it, but I have seen that the PixelSearch functions have mostly been misused (or so we call it), for these things a lot... Although this function is an inseparable part of AutoIt language.It's a needed part, honestly, as I've used it extensively for non-game automation of AS400 emulators and double checking screen scrapes and image positions on websites. The problem is ... 99% of the time, any question asked by a person with a low post-count regarding the use of PixelSearch() is going to run afoul of the rules. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache 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