get the color of this card at x,y

Bill Marriott wjm at wjm.org
Thu Nov 19 11:11:58 EST 2009


That code didn't work for me ... Probably need something more like,

lock screen
put the screenmouseLoc into coord
set the screenmouseLoc to 350,350
put the mousecolor
set the screenmouseLoc to coord
unlock screen

Alternately, one can export snapshot consisting of a single pixel and parse 
its contents.

Wilhelm Sanke wrote"
>> get the color of this card at x,y
>>  and I would expect it to contain r,g,b
>
> "click at x,y
> put the mousecolor"
 





More information about the use-livecode mailing list