VS:ws2GetMenuInfo

From Vectorworks Developer
Jump to: navigation, search

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

Description

Workspace advanced APIs. Return the localized (if any) name, and shortkey combinations (if any) of the specified index inside the provided menu path. See 'ws2GetMenusCnt'.
FUNCTION ws2GetMenuInfo(
menuPath  :DYNARRAY[] OF CHAR;
VAR outHasShortcutKey  :BOOLEAN;
VAR outShortcutKey  :CHAR;
VAR outShortcutKeyModifier  :INTEGER) : DYNARRAY[] OF CHAR;
def vs.ws2GetMenuInfo(menuPath):
    return (DYNARRAY[] of CHAR, outHasShortcutKey, outShortcutKey, outShortcutKeyModifier)

Parameters

menuPath DYNARRAY[] of CHAR
outHasShortcutKey BOOLEAN
outShortcutKey CHAR
outShortcutKeyModifier INTEGER

Version

Availability: from Vectorworks 2021
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox