The Run command can be used to execute scripts that have been created based on the QPR API. For more information about QPR scripts, refer to the QPR Developer's Guide.
Running a Script
To execute a QPR Modeling Client script, do the following:
|1.||Click the button on the Home tab of the ribbon or select Run Script > More from the Application menu. The "Select a QPR script file" window appears.|
|2.||Select the script you want to run. Click Open. The script is now executed if the syntax is correct and scripts are allowed to run (see QPR Developer's Guide for more information). Depending on the visibility settings defined in the script, you may or may not see the operations performed.|
If the location of the script files has been defined in the QPR_Clients.ini file, you can click the Run Script drop-down menu on the Home tab of the ribbon or select Run Script in the Application menu, and select the script from the menu that is displayed in either case. See the QPR - Administrator's Guide for information on how to define the script location.
Note: Never run a script if you don't know what it will do.
Note: If you try to run an older QPR model file (which are also *.pmf files), you will get an error message about the file not being a QPR script file. Models stored in a file can be opened with the Open File Model command available in the Application menu.