F1 as the men shortcut?
stephenREVOLUTION at barncard.com
Thu Feb 16 16:51:50 CST 2006
Why are you guys dancing around the bush; how about the old HC function??
This works great!
on functionkey what
-- functionkey 1 down
-- functionkey 2 down
-- functionkey 3 down
-- functionkey n down
note that on Mac OS many keys are assigned to system tasks but can be disabled.
1-4 are reserved, 13,14,15,16 don't appear on all keyboards and 11
and 12 want to be owned by Dashboard.
>one of 2 classic solutions
>send ("MenuPick" && themenuname) to btn mymenu
>set the menuhistory of btn mymenu to thislinenumber...
>Another way, more tedious but with more freedom allowed is that if your
>menupick handler calls a handler in the button or stack script, then you can
>simply <send handlername to the button> (no menupick && stuff - which fails
>if you change the menuitem) or in the simplest case, if your handler is in
>the card, background or stack, you don't need to send anything, just call
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode