alternative to mousecolor to get a color from loc?

John Dixon dixonja at hotmail.co.uk
Fri May 6 03:34:06 EDT 2011


Hi Tiemo....

on mouseUp
   put the topLeft of this stack into theLoc
   set the screenMouseLoc  to (item 1 of theLoc + 10,item 2 of theLoc + 10)
   put the mouseColor
end mouseUp

Dixie


> Hi,
> 
> I would like to get the (RGB) color from a script defined location, without
> moving the mouse to this loc.
> 
> I digged the dictionary but didn't find an alternative function to
> mousecolor. I would like something like "get the color of loc 100,100"
> 
> Any idea?
> 
> Tiemo

 		 	   		  


More information about the use-livecode mailing list