aa2zz6 Posted July 31, 2015 Posted July 31, 2015 (edited) Introduction: Finding a specific color within a specific areaThe link will be listed below, along with a screen shot of how it works.Step 1 - Install Chrome Extension [Page Ruler]Step 2 - Locate the Page Ruler in the upper right hand corner of your screen and click it.Step 3 - A Blue bar will appear with the following settings [Width, Height, Left, Top, Right, Bottom]Step 4 - The cursor will change to a different Icon. All that's left is to mark the areas u want the PixelSearch to search.Example Below - This will search in the center of Yahoo.com and locate the yellow arm band and click it.$pixel = PixelSearch(156, 274, 250, 748, 0xFCF21F, 0) ; ( left, top, right, bottom color shade If IsArray($pixel) = True Then MouseClick("primary", $pixel[0], $pixel[1], 1, 0) https://chrome.google.com/webstore/detail/page-ruler/jlpkojjdgbllmedoapgfodplfhcbnbpn?hl=en Edited July 31, 2015 by aa2zz6
JohnOne Posted July 31, 2015 Posted July 31, 2015 I don't know why you'd need any extension for that. "My Yahoo""Girls' school uniform"lol AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
aa2zz6 Posted August 2, 2015 Author Posted August 2, 2015 Thanks for comment, John. Let me clarify the reason of this post. Over the past few month I've been using the pixel search function. What I've noticed was all the forums lacked information on how to find the left, top, right, bottom of a particular area. While I was working on a particular project I needed a specific area on the screen to scan for a certain color. The Page Ruler extension gave me the exact dimensions I needed. The AutoIT forums lacks this information.
JohnOne Posted August 2, 2015 Posted August 2, 2015 I see, have you tried the Window Info Tool included in AutoIt download?Look at Options->co-ord mode. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
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