|
Bruce_Dickey
|
 |
« Reply #1 on: October 04, 2011, 03:44:34 PM » |
|
yt,
Search the forum for `onhotkeyup` for a previous answer.
From the API documentation:
w.onHotKeydown(function( profile, key, e, src ){ arr = []; arr.push(['onHotKeydown',,key.key,key.ctrlKey,key.shiftKey,key.altKey]) }); w.onHotKeypress(function( profile, key, e, src ){ arr.push(['onHotKeypress',,key.key,key.ctrlKey,key.shiftKey,key.altKey]); }); w.onHotKeyup(function( profile, key, e, src ){ arr.push(['onHotKeyup',,key.key,key.ctrlKey,key.shiftKey,key.altKey]); alert(arr); });
It looks as if when you receive the key you want you can call activate().
Bruce
|