QPR Knowledge Base 2019.1

Script Header Settings

Script Header Settings

Previous topic Next topic  

Script Header Settings

Previous topic Next topic  

The following settings can be defined in the script headers:

 

Setting

Type

Optional

Description

Language

String

Yes

Defines the programming language the script is using. Possible value for the language parameter is currently VBScript. For example, <QPR_SCRIPT_FILE language = VBScript>

TimeOut

Integer

Yes

Defines an interval (in seconds) for displaying a notification about a script being executed while executing time-consuming QPR scripts. Setting the timeout to 0 disables the notification. Overrides the ScriptTimeOut setting in QPR_Clients.ini. If timeout has not been defined in neither in QPR_Clients.ini nor in the script, the default timeout of 300 seconds is used.

ScriptSecurity

Integer

Yes

Overrides the ClientSecurity setting in QPR_Clients.ini with the following restrictions: If the ScriptSecurity setting is lower than ClientSecurity (i.e. more restrictions are applied), the Signed setting is not checked. However, in the case the ScriptSecurity setting is higher than ClientSecurity (i.e. the script gets more rights), then the script must be signed as well. See the Security Level for Executing QPR Scripts chapter for more information about the possible values.

 

The options are separated by a whitespace, i.e. the script header can look like <QPR_SCRIPT_FILE language=vbscript TimeOut=120 Signed=Checksum ScriptSecurity=1>