Command.IsNotLogged

Description

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.

C# Syntax

// get accessor
Boolean rtn = Command.IsNotLogged;

Examples

JScript Example

/*
	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.");
}

See Also

Command.GetFlag Command.SetFlag