mnemonics - short cut key to a button

Started by yuem on 20-Jun-2010/9:22:55-7:00
how can I create a short cut key to a button? In this way I won't have to click the button, but can just use the keys to call the button.
view layout [btn #"a" "press 'a'" [alert "pressed"]]
And if you use a caret in the char code, you can let them use ctrl+char. e.g. #"^q" = ctrl+q.

Reply