Sidebar

reference:scripting_reference:scripting_objects:addcmddata

The AddCmdData object is passed to the OnAddCommands event in a script add-in. The script can use this to add internal commands using the AddCommand method.

Method Name Arguments Return Type Description

AddCommand

none

object:ScriptCommand 

Adds a new internal command to Opus. The returned ScriptCommand object must be properly initialized. A script add-in can add as many internal commands as it likes to the Opus internal command set.