SetMenuShortcutAsGlobal command

The SetMenuShortcutAsGlobal command makes menu item's shortcut keys responsible to user's key pressings even if the application window is not active.

 

Syntax

Integer=MenuItemID

PluginSet("PlugIn","Integer")

PluginRun("PlugIn","SetMenuShortcutAsGlobal")

Parameters

MenuItemID

[in] Associated with menu item unique identifier. If this value is positive then command sets shortcut keys as global, if it is negative then command reverts shortcut keys to the default state.