Running a macro or script from Windows Explorer
Because macros are Visual Basic scripts, they can be invoked from Windows even when the software is not running.
Note:
- Scripts that assume a particular study is already open, or that a particular result is already displayed, are not likely to work.
- If your script uses parameters that are entered as command line arguments, you must run the script from the software command line.
Locate the macro or script using Windows Explorer.
By default, macros are located in, 8My Documents\My AMI 20XX Projects\scripts8 where xxxx is the software release number.
By default, command-line scripts are located in the default project directory, typically 8My Documents\My AMI 20XX Projects\commands8, or in 8C:\Program Files\Autodesk\Moldflow Synergy 20XX\data\commands8, where xxxx is the software release number.
Double-click on the required script.
The software will start if it is not currently running, and the script will open and run.