The ICICommandSettings interface allows you to make changes to the settings of site custom commands. Access the ICICommandSettings interface with the ICISite GetCommandSettings method.
Example
Set cs = s.GetCommandSettings(aCommands(i))
|
|
When you change a custom command with the ICICommandSettings interface, you must call ICIServer's ApplyChanges method in order for the changes to take effect. |
Available Properties:
Retrieving or Changing the Description of a Custom Command (Description)
Retrieving or Changing the Path to the Executable of a Custom Command (Executable)
Retrieving or Changing Custom Command Parameters (Parameters)
Viewing or Requiring Parameters for Custom Commands (RequireParams)
Requiring a Minimum Number of Parameters for Custom Commands (MinNumOfParams)
Defining or Changing a Message for an Invalid Number of Command Parameters (MinNumOfParamsMsg)
Redirecting Command Output to Clients (RedirectOutputToClient)
Enabling a Time Limit for a Custom Command (EnableProcessTimeOut)
Specifying the Time Limit for a Custom Command (ProcessTimeOut)