VS:ws2SetToolInfo
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Workspace advanced APIs. Set the tool information at the specified index of the parent tool at the specified path. See 'ws2GetToolsCnt'.
PROCEDURE ws2SetToolInfo(
toolPath :DYNARRAY[] of CHAR;
displayName :DYNARRAY[] of CHAR;
shortcutKey :CHAR;
shortcutKeyModifier :INTEGER;
resourceID :INTEGER);
def vs.ws2SetToolInfo(toolPath, displayName, shortcutKey, shortcutKeyModifier, resourceID): return None
Parameters
toolPath DYNARRAY[] of CHAR displayName DYNARRAY[] of CHAR shortcutKey CHAR shortcutKeyModifier INTEGER resourceID INTEGER
Version
Availability: from Vectorworks 2021