Go to documentation repository
The Script object is used to create specialized programs in the JScript language.
The settings panel of the Script object is shown in the figure.
Table describes the setting parameters corresponding to the elements of the settings panel of the Script object.
№ | Parameter | Method for setting the parameter value | Parameter description | Representation | Default value | Value range |
1 | Identification number* | Automatically | Displays the identification number of the Script object in the digital video surveillance system | Sequence of numbers | - | Depends on the number of the Script objects in the digital video surveillance system with distributed architecture |
2 | Name* | Enter the value into the field | Sets the name of the Script object | Latin, Cyrillic and service characters | Script | A line containing a sequence of any characters (letters, digits, service characters except > and < characters), case-insensitive. Number of characters—from 1 to 60 |
3 | Disable | Set the checkbox | Sets the state (enabled or disabled) of the Script object in the digital video surveillance system with distributed architecture | Boolean type | Clear | Set—the Script object is disabled and isn't used Clear—the Script object is enabled and used |
4 | Time schedule | Select the value from the list | Sets the time period during which the given script operates | Names of the Time schedule registered in the system | Never | Never—the script will never be executed Always—this script is always in the state of execution List of the created time zones—the script will be executed within a pre-defined time period |
The Run on specified computers group | ||||||
5 | Select an element* | Set the checkbox | Sets the computer on which the given script will be executed | Boolean type | Clear | Set—the script will be executed on the specified computer Clear—the script will not be executed on the computer |
6 | Computer | Automatically | The name of the computer in the local network | Computer name in the local network. | Computer name in the local network. | A line containing a sequence of any characters (letters, digits, service characters), case-insensitive. Number of characters—from 1 to 60 |
7 | Name | Automatically | Sets the name of the computer in the digital video surveillance system with distributed architecture | 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 characters (letters, digits, service characters), case-insensitive. Number of characters—from 1 to 60 |
Outside the group | ||||||
8 | Text editor* | Enter the value into the field | Used to enter the text of the script that should be executed | Latin, Cyrillic and service characters | Not defined | A line containing a sequence of any characters (letters, digits, service characters), case-insensitive. Unlimited number of characters |
9 | Editor - Debugger | Click the button | Open a debugging window of the script | - | - | - |
10 | Object type | Select the value from the list | Sets the type of the object, on receiving an event from which the script will be executed | Types of the objects registered in the system | - | Depends on the number of the objects registered in the system |
11 | ID | Select the value from the list | Sets the identifier of the object, on receiving an event from which the script will be 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 name | Automatically | The name of the object, on receiving an event from which the script will be executed | Name of the object of the selected type with the selected identifier | - | Depends on the specified object identifier |
13 | Event | Enter the value into the field | Sets the event, on receiving which from the object of the selected type the script will be executed | Events supported by the object | - | Depends on the events supported by the object. The name of the event should be entered in upper case |
*Name of the element isn't displayed in the settings panel of the given object.