Burgs Posted December 11, 2012 Share Posted December 11, 2012 Greetings, It would seem from my testing that the 'PixelGetColor' command cannot retrieve the colors of pixels that are not visible within the screen coordinates...for example pixels beyond the bounderies of a GUI in an image that is larger than the GUI window the image resides within. Can somebody verify if this is in fact the case? And, if so...is there some sort of work-around...I cannot think of one right now however my head is hurting from struggling with this to this point... Thanks in advance. Link to comment Share on other sites More sharing options...
ileandros Posted December 11, 2012 Share Posted December 11, 2012 Is your image visible or not? I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
Bert Posted December 11, 2012 Share Posted December 11, 2012 could we see your script? That would help. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Burgs Posted December 11, 2012 Author Share Posted December 11, 2012 Thanks for the replies...yes the image is visible however since it is larger than the GUI that contains it, most of it is beyond the GUI bounderies and those pixels cannot be seen without 'scrolling'...those are the parts of the image I cannot 'read' the pixel colors. I seem to be able to use 'PixelGetColor' on those parts of the image that can be seen in the window without scrolling...it appears to be registering the differing pixel colors there. I'll try to get some script posted tomorrow...little difficult right now. Thanks again. Link to comment Share on other sites More sharing options...
JohnOne Posted December 11, 2012 Share Posted December 11, 2012 PixelgetColor() will get the pixel color at whatever point you ask, within the bounds of your screens at the time of calling whatever colour that might be. So the answer is no. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ileandros Posted December 11, 2012 Share Posted December 11, 2012 Thanks for the replies...yes the image is visible however since it is larger than the GUI that contains it, most of it is beyond the GUI bounderies and those pixels cannot be seen without 'scrolling'...those are the parts of the image I cannot 'read' the pixel colors. I seem to be able to use 'PixelGetColor' on those parts of the image that can be seen in the window without scrolling...it appears to be registering the differing pixel colors there.I'll try to get some script posted tomorrow...little difficult right now. Thanks again.There are some complicated ways to do it but it's not so easy. Just scroll to find the part you want to check and then use pixegetcolour I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
Burgs Posted December 11, 2012 Author Share Posted December 11, 2012 Hmmm OK I was afraid of that...having to scroll to keep the required pixels 'onscreen' to be scanned will not be easy...thanks anyway for the confirmation and the reply posts... 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