When using plugin in Visual Paradigm, the case the plugin action will be registered to the application toolbar and can be accessed via mouse click. Besides trigger the plugin by mouse click, you can also trigger your plugin via shortcut key.
It is very easy to define shortcut key for your plugin. You can simply define the hotkey argument inside the action node of your plugin action.
label=”Plugin with Shortcut Key”
tooltip=”Trigger plugin with shortcut key”
* If the hotkey defined in plugin conflict with the default hotkey in VP, then the hotkey on plugin will be ignored.
The sample plugin attached in the article demonstrate how to trigger the plugin using shortcut key. After you deploy the plugin into Visual Paradigm you can then press Ctrl + Alt + Shift + 1 to trigger the plugin.
And a message will be showing in Message Pane indicate the plugin was triggered.
Download Sample Plugin
You can click this link to download the sample plugin.