Skip to main content
Version: v4 (Stable)

ExecuteCommand

ExecuteCommand(CommandId As Integer/String[, sValue As String]) As Boolean

Executes the command <CommandId>.

The parameter <CommandId> gives the Id (Integer) or the name (String) of the command to execute.

The optional parameter <sValue> gives the value to write for writing operations defined with an empty value. It can contain the strings "&T" which will be replaced by a tab character or "&(OId)" to reference the current value of the tag referred to by "OId". The string "&(/OId)" refers to the inverse boolean value of the tag referred to by "OId" (toggle command).

Returns TRUE if the operation is successful.