Re: get the color of this card at x,y
"Bill Marriott" wrote: 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" You are right. My test here was too quick, but the two-liner worked for me, because the point I had chosen for the test was inside an image whose script contained "put the mousecolor", as I now found out. For your solution I would recommend to add "globalloc()" to easier access points on the card, like "put 545,410 into tloc lock screen put the screenmouseLoc into coord set the screenmouseLoc to globalloc(tloc) put the mousecolor set the screenmouseLoc to coord unlock screen" Regards, Wilhelm Sanke <http://www.sanke.org/MetaMedia> ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: get the color of this card at x,y
Bill, thank you! Your idea worked well. I wrapped it into a function so it looked better for me, and put my example stack here: http://dl.shuler.org/dl.php?i=m510yb9zxq Thanks so much for the push in the right direction. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: get the color of this card at x,y
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" ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: get the color of this card at x,y
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> ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
get the color of this card at x,y
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.___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution