If hotkeys are on, then yes, that definition will do what you say. (If they are off they will get turned on.)
Printable View
If hotkeys are on, then yes, that definition will do what you say. (If they are off they will get turned on.)
I seem to remember an example of using a scroll lock modifier. Essentially, the only time you are broadcasting is when when the scroll lock is down.
I think its in the basic examples on the HKN site.
Yup. All the samples are written that way. You can also combine the two ideas by (for example) making Enter toggle Scroll Lock. Personally I like Scroll Lock for this purpose because it gives you a light on the keyboard telling you whether hotkeys are on or off.