Hi Ray,

Am 21.01.2014 um 18:28 schrieb Ray <r...@linkit.com>:

> Anybody know of a function which returns the color of the screen at a given 
> location?  Simply pass it a point and get the color of that pixel, kind of 
> like a combination of the mouseColor function and the controlAtScreenLoc 
> function.  I'd be happy if it only worked for points on Livecode stacks.  
> I've tried 'click at loc [myPoint] and then getting the mouseColor but it 
> doesn't work.

you could try to:
...
set the ScreenMouseLoc to X,Y ## your position here
put the mousecolor into tColorAtScreenLoc
...

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


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

Reply via email to