scriptEditorInfo is undoable, queryable, and editable.
Use this command to directly manipulate and query the contents of the
Command Window window.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-clearHistory(-ch)
|
|
|
|
Clears the read-only text in the upper field of the Command Window.
|
|
-clearHistoryFile(-chf)
|
|
|
|
Clear the file defined by the -hf/historyFilename flag, but only
if -wh/writeHistory is true. Use this flag to start a new history file,
since the default behaviour of the Command Window is to append to
the existing file.
|
|
-historyFilename(-hfn)
|
string
|
|
|
Sets or returns the name of the file that the Command Window will
use to echo all of its history to. If this is an empty string when
the -wh/writeHistory flag is set to true, then it will automatically be
set to the default file.
|
|
-input(-i)
|
string
|
|
|
Sets the text in the lower field of the Command Window.
Set this value to an empty string to clear the field.
Note: this flag only affects the Command Window and not the new script editor.
To find out how to manipulate the new script editor please refer to the documentation
on the cmdScrollFieldExecuter and cmdScrollFieldReporter.
|
|
-suppressErrors(-se)
|
boolean
|
|
|
When true, Command Window and Script Editor will not display error messages.
|
|
-suppressInfo(-si)
|
boolean
|
|
|
When true, Command Window and Script Editor will not display info messages
generated by Maya.
|
|
-suppressResults(-sr)
|
boolean
|
|
|
When true, Command Window and Script Editor will not display command results.
|
|
-suppressStackWindow(-ssw)
|
boolean
|
|
|
When true and when the stackTrace mechanism is on, this
flag will suppress the display of the stack window. If stack
trace is enabled then results will be returned to the output
window instead of a separate stack window.
|
|
-suppressWarnings(-sw)
|
boolean
|
|
|
When true, Command Window and Script Editor will not display warning messages.
|
|
-writeHistory(-wh)
|
boolean
|
|
|
When true, Command Window will echo all of its
history to the file defined by the -hf/historyFilename flag. This
flag effectively turns file writing on/off.
|
|