OSC:EOS SendNewCommandLine

From Moving Light Assistant
Revision as of 16:05, 14 March 2015 by Andyv wiki admin (Talk | contribs) (Added Page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EOS_SendNewCommandLine( command )

command is a string.

This function will send the command string passed to the command line of the EOS console as a new command, i.e. as if you had pressed the Clear key to clear the command line first. 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_SendNewCommandLine("Chan 1 Thru 5#")

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

OSC:EOS_SendNewCommandLine("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 NOT append to the command line but will clear the command line and the channel selection first. After you have used EOS_SendNewCommandLine, you can append to the command line using EOS_SendCommandLine if you wish.

Example.

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

This would result in a final command line of Chan 1 Thru 5 At Full# after clearing what ever was on the command line before (and whatever channels were selected).