altkey() down, up & halfway down
J. Landman Gay
jacque at hyperactivesw.com
Fri Nov 30 12:47:48 EST 2012
On 11/30/12 5:20 AM, Richmond wrote:
> Is it just me, or . . . ?
>
> So, here I am, during my luch break, at home, AND . . .
>
> having had "No joy" with this on my G3 iMac running Mac OS 10.4 at the
> school:
>
> on mouseUp
> if the altKey is down then
> put "down" into fld "fOUTPUT"
> end if
> end mouseUp
>
> it works on MacINTEL 10.6.7 !!!!!
>
> but NOT on Xubuntu 12.10.
>
> Do INTEL Macs send rawKey messages from modifier keys, while
> PPC Macs do not?
I think every OS is different. Try a handler using "on optionKeyDown".
Note that no message is sent with the key alone, it is only sent when
the user types a key combo, but for your shortcuts that's what you want
anyway.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list