VS:ws2SetMenuInfo

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Workspace advanced APIs. Set the localized (if any) name, and shortkey combinations (if any) of the specified index inside the provided menu path. See 'ws2GetMenusCnt'.
PROCEDURE ws2SetMenuInfo(
menuPath  :DYNARRAY[] OF CHAR;
displayName  :DYNARRAY[] OF CHAR;
hasShortcutKey  :BOOLEAN;
shortcutKey  :CHAR;
shortcutKeyModifier  :INTEGER);
def vs.ws2SetMenuInfo(menuPath, displayName, hasShortcutKey, shortcutKey, shortcutKeyModifier):
    return None

Parameters

menuPath DYNARRAY[] of CHAR
displayName DYNARRAY[] of CHAR
hasShortcutKey BOOLEAN
shortcutKey CHAR
shortcutKeyModifier INTEGER

Version

Availability: from Vectorworks 2021
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox