You can pass arguments to a script, which, for example, can minimize the need for interaction.
To specify arguments
The Script Arguments dialog opens.
Depending on the selection, the DMScript Interpreter initializes the asset management script constants UnitName, UnitArea, and UnitFile. The labels of the radio buttons describe the style of asset management installation to be handled.
Selecting one of these values terminates the DMScript Interpreter session and starts a new session with the new parameters.
The script executes the arguments.
Note: To retrieve the arguments passed to a script, use the functions argc() and argv().
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|