Hi Tiemo...

I didn't read your post very closely... you wanyed it as a function

on mouseUp
   put pixelColor (10,10)
end mouseUp

function pixelColor x,y
   put the topLeft of this stack into theLoc
   set the screenMouseLoc  to (item 1 of theLoc + x,item 2 of theLoc + y)
   return the mouseColor
end pixelColor

Dixie


> I would like to get the (RGB) color from a script defined location, without
> moving the mouse to this loc.

> Any idea?
> 
> Tiemo

                                          
_______________________________________________
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