Go to documentation repository
The Script object is designed to create specialized programs in JScript language. The settings panel of the Script is shown in the figure.
The table describes the parameters of the settings corresponding to the elements of the settings panel of the Script object.
Table 11.2—47
№ | Parameter | Method for entering the parameter | Parameter description | Symbols used | Default value | Value range |
1 | Identification number* | Automatically | Shows the identification number of the Script object in the digital video surveillance system. | Sequence of numbers | - | Depends on the number of Script objects in the digital distributed video surveillance system |
2 | Name* | Specify the value in the field | Assigns the name to the Script object. | Latin, Cyrillic and service characters | Script | A line containing a sequence of any symbols (letters, digits, service characters apart from > and < symbols), case-insensitive Number of symbols – from 1 to 60. |
3 | Disable | Checkbox is set | Sets the state (enabled or disabled) of the Script object in the digital distributed video surveillance system. | Boolean type | Not available | Yes – the Script object is disabled and is not in use No – the Script object is enabled and is in use. |
4 | Time zone | Select in the list | Specifies the time period for the operation of the given program. | Time zone name registered in the system. | Never | Never – the program will never be executed. Always – the program is always executed. List of created time zones – the programs are executed during the time period as defined by the time zone. |
The Computers group | ||||||
5 | Select element* | Checkbox is set | Assigns the computer for the execution of the given script. | Boolean type | No | Yes – the script is executed on the computer. No – the script is not executed on the computer. |
6 | Computer | Automatically | Specifies the computer name in the local network | Computer name in the local network. | Computer name in the local network. | A line containing a sequence of any symbols (letters, digits, service characters), case-insensitive Number of symbols - 60. |
7 | Name | Automatically | Specifies the name of the computer in the digital distributed video surveillance system. | Name of the Computer object registered in the system. | Name of the Computer object registered in the system. | A line containing a sequence of any symbols (letters, digits, service characters), case-insensitive Number of symbols - 60. |
No group | ||||||
8 | Text editor* | Specify the value in the field | Specifies the text of the executed script. | Latin, Cyrillic and service characters | Not set | A line containing a sequence of any symbols (letters, digits, service characters), case-insensitive Unlimited number of symbols. |
9 | Editor - Debugger | Press the button | Gives a command to open a debugging window of the script. | - | - | - |
10 | Object’s type | Select in the list | Sets the type of the object on receiving event from which the script is executed | Types of objects registered in the system | - | Depends on the number of the objects registered in the system |
11 | Identifier | Select in the list | Sets the identifier of the object on receiving event from which the script is executed | Identifiers of the objects of the selected type registered in the system | - | Depends on the number of the objects of the selected type registered in the system |
12 | Object’s name | Automatically | Sets the name of the object on receiving event from which the script is executed | The name of the object of the selected type with the selected identifier | - | Depends on user’s entering |
13 | Event | Specify the value in the field | Sets the event on receiving which the script is executed | Events supported by the object | - | Depends on events supported by the object. The name of the event is to be specified in upper case. |
*The name of the element is not displayed in the settings panel of this object.