Thank you, Jacqueline. Somehow I missed the screenMouseLoc as being settable. Although it is an ugly hack, it will be fun to play with.
Cheers, Roger Guay On Dec 4, 2010, at 9:45 PM, use-livecode-requ...@lists.runrev.com wrote: > Message: 25 > Date: Sat, 04 Dec 2010 20:08:15 -0600 > From: "J. Landman Gay" <jac...@hyperactivesw.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <4cfaf40f.3080...@hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 12/4/10 6:03 PM, Roger Guay wrote: >> Heck, I could do it >> myself if I could figure out how to get the color of a pixel by >> location programmatically. > > There's a really ugly hack for that. It's fast though. > > put the screenMouseLoc into oldX,oldY > set the screenMouseLoc to x,y > get the mouseColor > set the screenMouseLoc to oldX,oldY > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode