Zohar Posted August 16, 2012 Share Posted August 16, 2012 (edited) PixelSearch() helps me find 1 Pixel.But If I want to find a 16x16 pixels according to some image that I got?It is useful for cases where the toolbar is not regular, and cannot be worked with the _GUICtrlToolbar functions. Edited August 16, 2012 by Zohar Link to comment Share on other sites More sharing options...
czardas Posted August 16, 2012 Share Posted August 16, 2012 What are you trying to do with the toolbar? operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Zohar Posted August 17, 2012 Author Share Posted August 17, 2012 Click it of course.Pleae note that a Toolbar is just one example.Another example may be click the Minimize button of a window.(in some applications, for example eMule, using WinSetState(@SW_MINIMIZE) and actually Clicking the Minimize button, gives different results)So I need a way to do what I asked,and not some "side solution" that avoids it Link to comment Share on other sites More sharing options...
Kidney Posted August 17, 2012 Share Posted August 17, 2012 You can do an imagesearch which will look for an image on the screen. Link to comment Share on other sites More sharing options...
Zohar Posted August 18, 2012 Author Share Posted August 18, 2012 Hmm.. OK, Where is this ImageSearch() function? Link to comment Share on other sites More sharing options...
Xandy Posted August 18, 2012 Share Posted August 18, 2012 (edited) I wrote a program called Runner. Runner does these image searches as macro command conditions. You can also use a pixel exclusion mask to decide which pixels of the rectangle to check. You can sample an area from the screen and search for a picture inside it, the position image was found is returned to Runner for any use in other macro commands.To find the image search option in Runner, click the Function context menu, choose macrocreate - edit. On the conditions tab of the Add macro command dialog, on the Type of Condition dropdown choose, find picture on screen. The default Runner hotkey to save an incremental screenshot file is, hold HOME and press PRINT-SCREEN. You crop and save the rectangle from the Examine Screenshot button. I can walk you through the steps over vent or emails or pms.There is no charge for you to use Runner, tell me the User_Number songersoft returns you and I will provide a key for your system.Don't want to use Runner?This looked neat:but I have enough power to work with without it. Edited August 18, 2012 by Xandy Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker) Link to comment Share on other sites More sharing options...
Zohar Posted August 19, 2012 Author Share Posted August 19, 2012 (edited) Hi Xandy Thank you very much Runner looks like an amazing piece of work. BTW, you made keyboard shortcuts to specific songs? Edited August 19, 2012 by Zohar Link to comment Share on other sites More sharing options...
Xandy Posted August 19, 2012 Share Posted August 19, 2012 (edited) BTW, you made keyboard shortcuts to specific songs?Any file path, yes. Could easily be a play list of your default media player, custom script, or Runner macro.Runner looks like an amazing piece of work.It was the best idea I could think of. Macros became a turn timer with the computer voice announcing to my party when a board/card game (Citadels) player's turn should be over. I could press hotkeys to output a incremental file line of a file to sing lyric files with sam, or anna, output them with the keyboard to send them as text to other programs. Runner wrote some of it's own source code. It's a tool empowering a user/me to use inherent abilities of a computer; to define and execute a step by step process.I do want it to be useful, thank you. Edited August 19, 2012 by Xandy Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker) Link to comment Share on other sites More sharing options...
Zohar Posted September 3, 2013 Author Share Posted September 3, 2013 Does anyone know if there are other options besides the FastFind function that Xandy gave? Something that Searches for an Icon/Image on the screen, instead of searching for just 1 pixel.. 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