get the color of this card at x,y

Wilhelm Sanke sanke at hrz.uni-kassel.de
Thu Nov 19 10:26:39 EST 2009


On Thu Nov 19, Generic Email generic.email.30022 at gmail.com wrote:

> I am looking for a function that does something like this:
>
> get the color of this card at x,y
>  and I would expect it to contain r,g,b
>
> I have searched through the Revolution Dictionary, and the best I can 
> find is mouseColor. This has the undesirable effect of having to move 
> the mouse to the point I am checking, and the possibility that the 
> user is jerking the mouse and I get the wrong color. Any ideas on how 
> to accomplish this would be appreciated.


"click at x,y
put the mousecolor"

Regards,

Wilhelm Sanke
<http://www.sanke.org/MetaMedia>



More information about the use-livecode mailing list