Go to documentation repository
The Script object is designed used to create specialized programs in the JScript language. The The settings panel of the Script object is shown in the figure.
The table describes the setting parameters of the settings 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 |
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 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 |
Disable
Checkbox is set
The Disable | Set the checkbox | Disables |
the Script object in |
the video surveillance system |
with distributed architecture | Boolean type |
Not available
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 schedules |
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 isn't executed Always—the script is always executed | ||||||
The Run on specified computers group | ||||||
5 | Select an element* | |||||
Checkbox is set
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 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 |
7 |
The Name field | Automatically |
Sets the name of the computer in the |
video surveillance system |
with distributed architecture |
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 | ||||||
Out of the group | ||||||
8 | Text editor* | |||||
Enter the value in the field |
Enters the text of the executed script |
Latin alphabet, Cyrillic, digits, 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 |
Gives a command to open a debugging window of the script.
-
-
-
Opens the Script debug window | NA | NA | NA |
10 | The Object type drop-down list | Select the value from |
10
Object’s type
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. Note. |
The name of the event |
must be |
entered in upper case |
*The name Name of the element is not isn't displayed in the settings panel of this the given object.