About Scripts
The Script functionality enables you to automate process flows that involve M3 DMP and other applications. You can script any process flow. This functionality is particularly relevant for repetitive processes. For example, one of the included sample scripts enables you to export all active screens in the workbench to Microsoft PowerPoint, so that you can generate a presentation.
An M3 DMP Script is a VBS script that is not compiled and can be written in any text editor. You must install the new scripts in the ..\M3 DMP12_10\Scripts\ directory. All script files must have the .srp extension to be recognized. We recommend that you give your script a filename that is synonymous with the work routine you must perform because this ensures faster recognition on the Scripting dialog box.
See Installing and running scripts.
If your script has errors, you receive error messages as the script runs. These messages provide information about the error location in the script.
You can run scripts synchronously from , Workflows, and Favorite View action menu.
You can run a script when the M3 DMP program starts by adding it to the command line of the program with the option -S <scriptfile> or -SX <scriptfile>. If you use -SX, M3 DMP closes after the script is complete.