Running a macro or script from Windows Explorer

Because macros are just Visual Basic scripts, they can be invoked from Windows even if the software is not running.

Note:
  • Scripts which assume that 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.
  1. Locate the macro or script using Windows Explorer.

    By default, macros are located in, My Documents\My ASMI 20xx Projects\scripts where xxxx is the software release number.

    By default, command-line scripts are located in the default project directory, typically My Documents\My ASMI 20xx Projects\commands, or in C:\Program Files\Autodesk\Simulation Moldflow Synergy 20xx\data\commands, where xxxx is the software release number.

  2. Double-clicking on the required script. The software will start if it is not currently running, and the script will open and run.