BigDaddyO Posted December 3, 2004 Share Posted December 3, 2004 Hello, I am writing a script to verify that online userid's and password's were setup correctly by logging in one at a time to each one then verifying that certain items are displayed on the screen which would tell me if they also have the correct rights assigned to them. The item will be in roughly the same place for every account and it will be the same size "141w X 19h", shape "rectangle", and color "Gray box with White lettering". I tried to figure this out from the help file but PixelCheckSum appears to be useful only for changes in specified location. PixelSearch appears to only search for one pixel. I think I can probably do it if I figure out every pixel in the entire item in the correct order and then do a pixelsearch matching all pixels of the 141x19 box in an area of about 400 pixels wide by 200 high. Please tell me if there is an easier way to do this. Thanks, Mike Link to comment Share on other sites More sharing options...
ezzetabi Posted December 3, 2004 Share Posted December 3, 2004 (edited) Sorry, you have to make an array of all colors you need and seek every pixel. But probably you don't need to know really EVERY ONE. Maybe only some there and there like a holed grid. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + I am pretty sure someone already made a UDF for that. Did you try searching? Edited December 3, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
BigDaddyO Posted December 3, 2004 Author Share Posted December 3, 2004 Yea, I was searching for quite a while but if you search on Pixelsearch or PixelcheckSum you get hundreds of hits. hmm, I wonder if I can do a google search on the forum??? Link to comment Share on other sites More sharing options...
ezzetabi Posted December 3, 2004 Share Posted December 3, 2004 (edited) Probably this is what you need:Findpixelrect.Found in about 2 minutes, .Edit: of course Larry is faster. Edited December 3, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
BigDaddyO Posted December 3, 2004 Author Share Posted December 3, 2004 Wow, Thank you Larry and ezzetabi, from first glance this is exactly what I need. I was only searching in the V3 Support area 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