Creating a Macro
To create a macro:
- Select Automation > Macros. The Macros overview window is displayed.
- Click New. A dialog box is displayed.
- Assign a unique code to the macro.
- Click OK. The Macro Entry window is displayed.
- Specify a description for the macro.
- Select the show in menu check box, if you want to add the macro to the Run Macro sub-menu of the Automation menu.
- Select the with info messages check box, if you want the informational messages to be displayed in the Messages window.
-
Select the
run with planning board
closed check box, if you want the planning board to be closed
during the macro execution. Macro performance can be improved by using this
option.
Note: If you select this option, the planning board is closed during the macro execution. After the macro execution, the planning board is reopened.
- Click Plus(+). The Edit action window is displayed.
-
Select an action from the action drop-down list box.
Note: New rows are added to the list based on the selected action type. You can change the order of the actions by dragging and dropping the actions in the list.
- Specify the description and the condition of the actions. If multiple parameters exist, separate them with commas.
-
Depending on the action type selected, any of the following fields
may be displayed:
- Search Type and Search
- Status
- Set Start and Set Stop: Specify the start and stop time for the horizon or the work area
- Move Start and Move End: Specify the time period to move the horizon or the work area
- Solver
- Interface Group
- Interface
- Macro
- Path: Specify a file path for back-up
-
Click
Settings, if available,
and select the required parameters.
- Click OK to enable the settings.
- Click Cancel to close the window.
Note: The Settings option is enabled only if the action requires a parameter with a value. - Click the Documentation tab and specify a description, if you want to add a detailed description about the macro.
- Specify the users who are authorized to utilize the macro, in the Sharing tab.
- Click Save.
Related topics