Freggel Posted December 6, 2019 Share Posted December 6, 2019 Hello there, im kinda new in coding and i want to know if theres a way to search only the shape of an image with the imagesearch programm like i have a circle, a triangle, a square but they always change colors , so only the shape should be the target not the color. the color should be ignored. Also the shape of the picture changes in a specific position on the screen. But there are only 3 different shapes of the picture, triangle, square or circle for example. Furthermore it should have an area function. like lets say $area1 = x50 y100 , $area2 = x100, y150 and so on. and if i.e. the circle appears in area1 it should send"1" if there is a square in area1 in should send"2" , the area`s should be pressed in order so, -> check area1 if there is a circle, square or triangle -> "a circle appeared" -> send"1" , then check area2 if there is a circle, square or triangle ->"a square appeared" -> send"2" . Sorry if it might be in the wrong forum to ask... Its the first time here for me :/. Still i hope u could help me out with this :) best regards Link to comment Share on other sites More sharing options...
Nine Posted December 6, 2019 Share Posted December 6, 2019 Maybe not with imagesearch, but I think it is possible with GDI+. Could you post an image of the screen where the different shapes appear. I also suggest you read forum rules especially the part about game automation... “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) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Freggel Posted December 6, 2019 Author Share Posted December 6, 2019 Hey thanks for your fast reply, but if its forbidden here i shouldnt post it mb, and how did you know that ? xD crazy Link to comment Share on other sites More sharing options...
Nine Posted December 6, 2019 Share Posted December 6, 2019 1 minute ago, Freggel said: how did you know that ? Crystal ball is back from repair shop Freggel 1 “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) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Freggel Posted December 6, 2019 Author Share Posted December 6, 2019 haha xD Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 6, 2019 Moderators Share Posted December 6, 2019 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team "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! Link to comment Share on other sites More sharing options...
Recommended Posts