To assign a hot key to a menu, you need to add or modify the CDF @jsxkeycode attribute in the CDF document associated with the control. To assign a hot key to a menu command:
For example, your XML String value might look similar to this: <data jsxid="jsxroot"> <record jsxid="1" jsxtext="New" jsxkeycode="alt+shift+n" jsxexecute="alert('New menu is working');"/> <record jsxid="2" jsxtext="Open" jsxkeycode="shift+o" jsxexecute="alert('Open menu is working');"/> <record jsxid="3" jsxtext="Save" jsxkeycode="shift+s" jsxexecute="alert('Save menu is working');"/> </data>
To test the hot key:
|
Contents
|
