Returns a Boolean value indicating whether this command
is logged in the command history window (false) not (true). This property
is a shortcut for Command.GetFlag.
Note: Even though this property is read only, you can use
Command.SetFlag to create a custom silent command. This
can be very useful for improving performance if the custom command is called
many times, for example from another script.
// get accessor Boolean rtn = Command.IsNotLogged; |
/*
See if a command is logged
*/
var oCmd = Commands.Item("Apply Operator");
if ( true == oCmd.IsNotLogged )
{
LogMessage(oCmd.Name + " does not log.");
}
else
{
LogMessage(oCmd.Name + " logs itself.");
} |