Go to documentation repository
The Script object is used to create specialized programs in the JScript language.The The settings panel of the Script object is shown in the figure.
Table 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* | Automatically | Displays the identification number of the Script object in the digital video surveillance system | Sequence of numbers- | NA | From 1 to 2147483647. Depends on the number of the the Script objects in the digital the video surveillance system with distributed architecture | |||
2 | The Name* field | Enter the value into in the field | Sets the name of the Script object | Latin alphabet, Cyrillic, digits, 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 | Set the checkbox | Sets the state (enabled or disabled) of the Disables the Script object in the digital 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 scheduleschedule drop-down list | Select the value from the list | Sets the time period during which the given script operates | Names of the Time schedule time schedules registered in the system | NeverNever | List of the created time schedules—the script will never be executed Always—this script is always in the state of execution is executed in the time period specified in the selected time schedule. Never—the script isn't executed Always—the script is always executedList 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* checkbox | Set the checkbox | Sets the computer on which to execute the given script will be executedscript | Boolean type | Clear | Set—the script will be is executed on the specified computer Clear—the script will not be isn't executed on the computer | |||
6Computer | The Computer field | Automatically | The name of the computer in the local networkComputer name in the local network. | Latin alphabet, Cyrillic, digits, 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 | |||
7Name | The Name field | Automatically | Sets the name of the computer in the digital video surveillance system with distributed architecture | Name Names 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 Out of the group | |||||||||
8 | Text editor* | Enter the value into in the field | Used to enter Enters the text of the executed script that should be executed | Latin alphabet, Cyrillic, digits, and service characters | Not definedNA | A line containing a sequence of any characters (letters, digits, service characters), case-insensitive. Unlimited number of characters | |||
9 | The Editor - DebuggerDebugger button | Click the button | Open a debugging window of the script | - | - | Opens the Script debug window | NA | NA | NA- |
10 | The Object typetype drop-down list | Select the value from the list | Sets the type of the object , on receiving an event from which the script will be is executed | Types of the objects registered in the system- | NA | Depends on the number of the objects registered in the system | |||
11ID | The ID | Select the value from the list | Sets the identifier of the object , on receiving an event from which the script will be 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 namename field | Automatically | The Displays the name of the object , on receiving an event from which the script will be is executed | Name Names of the object of the selected type with the selected identifier- | NA | Depends on the specified object identifier | |||
13Event | The Event field | Enter the value into in the field | Sets the event, on receiving which from the object of the selected type the script will be is executed | Events supported by the object- | NA | Depends on the events supported by the object. Note. The name of the event should must be entered in upper case | |||
*Name of the element isn't displayed in the settings panel of the given object.