Go to documentation repository
Previous page Next page
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.
The 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 | The Identification number* field | Automatically | Displays the identification number of the Script object in the video surveillance system | Sequence of numbers | NA | From 1 to 2147483647. Depends on the number of the Script objects in the video surveillance system with distributed architecture |
2 | The Name* field | Enter the value in the field | Sets the name of the Script object | Latin, Cyrillic, numbers, 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 | The Disable checkbox | Set the checkbox | Disables the Script object in the 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 | The Time schedule drop-down list | 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 | List of the created Time schedules—the Script is executed in the time period specified in the selected Time schedule. Never—the Script is never executed Always—the Script is always executed |
The Run on specified computers group | ||||||
5 | Select an element* checkbox | Set the checkbox | Sets the computer to execute the given Script | Boolean type | Clear | Set—the Script is executed on the specified computer Clear—the Script isn't executed on the computer |
6 | The Computer field | Automatically | The name of the computer in the local network | Latin, Cyrillic, numbers, and service characters | 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 | The Name field | Automatically | Sets the name of the computer in the video surveillance system with distributed architecture | Latin, Cyrillic, numbers, and service characters | 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 |
Out of the group | ||||||
8 | Text editor* | Enter the value in the field | Enters the text of the executed script | Latin, Cyrillic, numbers, and service characters | NA | A line containing a sequence of any characters (letters, digits, service characters), case-insensitive. Unlimited number of characters |
9 | The Editor - Debugger button | Click the button | Opens the Script debug window | NA | NA | NA |
10 | The Object type drop-down list | Select the value from the list | Sets the type of the object on receiving an event from which the script is executed | Types of the objects registered in the system | NA | Depends on the number of the objects registered in the system |
11 | The ID | Select the value from the list | Sets the identifier of the object on receiving an event from which the script is executed | Identifiers of the objects of the selected type registered in the system | NA | Depends on the number of the objects of the selected type registered in the system |
12 | The Object name field | Automatically | Displays the name of the object on receiving an event from which the script is executed | Names of the object of the selected type with the selected identifier | NA | Depends on the specified object identifier |
13 | The Event field | Enter the value in the field | Sets the event, on receiving which from the object of the selected type the script is executed | Events supported by the object | NA | Depends on the events supported by the object. The name of the event must be entered in upper case |
*Name of the element isn't displayed in the settings panel of the given object