ShowPixel Script

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Waldo
Junior Coder
Posts: 20
Joined: Fri Oct 29, 2004 4:22 am

ShowPixel Script

Post by Waldo » Sun Nov 21, 2004 2:45 am

Here is an extremely useful script that I use to assist in writing macros...

//displays the pixel color value at the mouse pointer & the x,y coordinates
label>loop
GetCursorPos>x,y
GetPixelColor>x,y,pc
message>x=%x% y=%y% pixel=%pc%
goto>loop


This little routine makes programming screen interaction a simple task.

Happy Computing...
Waldo

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts