renkei32 Posted April 30, 2020 Posted April 30, 2020 I use pixelsearch in Visual Basic.My problem is,if he finds two of the same color, he always turns to one, and I want him to go to the nearest Pixel, how can I do that ? (you can also write if you know how to do this in c#.I convert codes.)
renkei32 Posted April 30, 2020 Author Posted April 30, 2020 7 minutes ago, renkei32 said: I use pixelsearch in Visual Basic.My problem is,if he finds two of the same color, he always turns to one, and I want him to go to the nearest Pixel, how can I do that ? (you can also write if you know how to do this in c#.I convert codes.) There is my codes : asd = autoit.PixelSearch(12, 21, 12, 21, &H0) While IsArray(asd) = True Sleep 2000 SendKeys("0") asd = autoit.PixelSearch(12, 21, 12, 21, &H0) Wend
Moderators JLogan3o13 Posted May 1, 2020 Moderators Posted May 1, 2020 Why are you posting a Visual Basic question, in an AutoItX section of the AutoIt forum? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Developers Jos Posted May 1, 2020 Developers Posted May 1, 2020 Your are in the correct place to ask autoit3x questions. Jos renkei32 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Nine Posted May 10, 2020 Posted May 10, 2020 On 4/30/2020 at 6:08 PM, renkei32 said: I want him to go to the nearest Pixel Could you explain in more details what you mean by that ? “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 Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Earthshine Posted May 10, 2020 Posted May 10, 2020 Sounds like game automation My resources are limited. You must ask the right questions
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