I know of two ways to obtain the RGB of a specified pixel on the screen:
 
1. mouseColor - set the screenMouseLoc, get the mouseColor, set the loc back
 
2. export snapshot - grab a single-pixel image
 
Both methods have  a UI side effect that makes them non-starters for the app 
I'm working on: the Taskbar flashes momentarily while the screen pixel is being 
obtained.
 
This appears to be a momentary addition to the far-right of the Taskbar of the 
icon that's present when using the Win sceen shot tool. I'm guessing the API LC 
is using triggers that with both methods.
 
Does anyone know of another way to obtain the color of a specific location on 
screen which is outside of an LC windows?
 
If not, is there some clever way to avoid the momentary flash of the snapshot 
icon in the Taskbar?
 
TIA - 
 
--  
Richard Gaskin
Fourth World Systems
 

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to