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, [email protected] wrote: > Message: 25 > Date: Sat, 04 Dec 2010 20:08:15 -0600 > From: "J. Landman Gay" <[email protected]> > To: How to use LiveCode <[email protected]> > Subject: Re: How to make a square topped, round rect bottomed graphic? > Message-ID: <[email protected]> > 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 | [email protected] > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
