OSC:EOS SendCommandLine

From Moving Light Assistant
Jump to: navigation, search

EOS_SendCommandLine( command )

command is a string.

This function will send the command string passed to the command line of the EOS console. If the command ends with a hash character it will terminate the command (i.e. as if you had pressed the Enter key). If no hash character is sent at the end of the command, the command will remain unterminated on the command line of the console.

Example.

OSC:EOS_SendCommandLine("Chan 1 Thru 5#")

This would select channels 1 thru 5 on the console as it is a terminated command.

OSC:EOS_SendCommandLine("Chan 1 Thru 5")

This would NOT select channels 1 thru 5 on the console as it is an unterminated command and would remain on the command line until an action is taken.

This function will also append to the command line in the same way as you would work on the console without pressing Clear (which would clear the command line and channel selection).

Example.

OSC:EOS_SendCommandLine("Chan 1 Thru 5#")
OSC:EOS_SendCommandLine("At Full#")

This would result in a final command line of Chan 1 Thru 5 At Full#

If you want to start a new command line entry clearing the command line and channel selection, use EOS_SendNewCommandLine.