AW: alternative to mousecolor to get a color from loc?

Tiemo Hollmann TB toolbook at kestner.de
Fri May 6 03:53:53 EDT 2011


Hi Dixie,
I don't want to move my mouse (neither by hand, nor by script), because I am
sliding a slider, with which I want to control continuously the point within
an image, where the color is taken. (ok, I could switch my mouse with every
move of the slider to the color taken point and back to my slider, but
that’s not the nice way I think)
Any idea to that?
Thanks Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von John Dixon
> Gesendet: Freitag, 6. Mai 2011 09:34
> An: use-livecode at lists.runrev.com
> Betreff: RE: alternative to mousecolor to get a color from loc?
> 
> 
> 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
> 





More information about the use-livecode mailing list