Re: Trapping the Option or Command keys

2009-07-28 Thread Sarah Reichelt
On Tue, Jul 28, 2009 at 10:08 PM, Bill Ziegler wrote: > Thanks to all for your advice. > I was going to check the state of the keys with an On-Idle script but will > try Sarah's suggestion instead. Don't use idle! It was OK in HyperCard's day, but with modern multi--tasking, an app with an idle lo

Re: Trapping the Option or Command keys

2009-07-28 Thread Bill Ziegler
Thanks to all for your advice. I was going to check the state of the keys with an On-Idle script but will try Sarah's suggestion instead. Thanks again BIll ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subs

Re: Trapping the Option or Command keys

2009-07-28 Thread SparkOut
lly a matter of style, as Sarah says. I have sort of got a hazy policy of using "on" for handlers where I'm expecting a message to be passed up the path and handled "on" an event, and command (or private command) for handlers which are more just modular procedures (

Re: Trapping the Option or Command keys

2009-07-27 Thread Sarah Reichelt
On Tue, Jul 28, 2009 at 8:52 AM, wrote: > Sarah: > > Just curious. Do you use "command" instead of (good ol') "on"? > "command" was introduced in 3.? (3.5 I think) and I am gradually training myself to use it. The idea is that system messages still use "on", so you have "on mouseUp", "on preOpenS

Re: Trapping the Option or Command keys

2009-07-27 Thread DunbarX
Sarah: Just curious. Do you use "command" instead of (good ol') "on"? Craig Newman ** A Good Credit Score is 700 or Above. See yours in just 2 easy steps! (http://pr.atwola.com/promoclk/100126575x1221823322x1201398723/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=66

Re: Trapping the Option or Command keys

2009-07-27 Thread Sarah Reichelt
> I'm re-writing a hypercard stack in which buttons performed different > functions if the OptionKey or CommandKey were down. I need the title and > icon to change on all the buttons when either modifier key is down. Looking > back in the archives it seems like it was a problem only on Macs. Is the

Re: Trapping the Option or Command keys

2009-07-27 Thread J. Landman Gay
Richmond Mathewson wrote: 2. The only 'problem' as far as I recall is that on a Mac the COMMAND key (with a stylised apple on it) does the work of the CONTROL key in Windows. Actually there's a bigger problem. Neither Mac OS nor Mac OS X send any keydown information about the Command or

Re: Trapping the Option or Command keys

2009-07-27 Thread Richmond Mathewson
Bill Ziegler wrote: I'm re-writing a hypercard stack in which buttons performed different functions if the OptionKey or CommandKey were down. I need the title and icon to change on all the buttons when either modifier key is down. Looking back in the archives it seems like it was a problem o

Trapping the Option or Command keys

2009-07-27 Thread Bill Ziegler
I'm re-writing a hypercard stack in which buttons performed different functions if the OptionKey or CommandKey were down. I need the title and icon to change on all the buttons when either modifier key is down. Looking back in the archives it seems like it was a problem only on Macs. Is