Difference between revisions of "OSC:EOS SendNewCommandLine"
(Added Page.) |
(No difference)
|
Latest revision as of 16:05, 14 March 2015
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).