Please enable JavaScript to view this site.

QPR Knowledge Base 2019.1

Navigation: Developer's Guide > QPR Scripting

Running QPR Scripts

Scroll Prev Top Next More

Running QPR scripts is rather similar to handling file models. See below for more detailed instructions:

 

QPR Modeling Client Scripts

 

QPR Modeling Client scripts can be executed in the following ways:

1.Use the Run (available in the Model menu as well as in Diagram Hierarchy view's pop-up menu in the Navigator) command and select the script file that you want to run.
2.The script is executed if the syntax is correct and security level is 1 or greater.

 

or

 

1.Double-click a script file (*.qprpsc) stored on your hard disk. Note that this option requires that you have *.qprpsc files associated as QPR Modeling Client model files.
2.The script is executed if the syntax is correct and security level is 3 or 4.

 

 

QPR Metrics Scripts

 

QPR Metrics scripts can be executed in the following ways:

1.Use the Run (available in the Model menu as well as model, element, and scorecard pop-up menus in the Scorecard Explorer) command and select the script file that you want to run.
2.The script is executed if the syntax is correct and security level is 1 or greater.

 

or

 

1.Double-click a script file (*.qprmsc) stored on your hard disk. Note that this option requires that you have *.qprmsc files associated as QPR Metrics script files.
2.The script is executed if the syntax is correct and security level is 3 or 4.