Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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* 
field

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

Disable

The Disable 
checkbox

Set the checkbox

Sets the state (enabled or disabled) of

Disables the Script object in

the digital

the video surveillance system with distributed architecture

Boolean type

Clear

Setthe Script object is disabled and isn't used

Clearthe Script object is enabled and used

4

The Time

schedule

schedule drop-down list

Select the value from the list

Sets the time period during which the given

program

script operates

Names of the

 Time schedule

time schedules registered in the system

Never

Never

List of the created time schedulesthe

program will never be executed

Always—this program is always in the state of execution

script is executed in the time period specified in the selected time schedule.

Neverthe script isn't executed

Always—the script is always executed

List of the created time zonesthe program will be executed within a pre-defined time period

The Run on

the indicated

specified computers group

5

Select an element* checkbox

Set the checkbox

Sets the computer

on which

to execute the given

script will be executed

script 

Boolean type

Clear

Setthe script

will be

is executed on the specified computer

Clearthe script

will not be

isn't executed on the computer

6

Computer

The Computer field

Automatically

Sets the

The name of the computer in the local network

Computer 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

7

Name

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 defined

NA

A line containing a sequence of any characters (letters, digits, service characters), case-insensitive.

Unlimited number of characters

9

The Editor -

Debugger

Debugger button

Click the button

Open a debugging window of the script

-

-

-

10

Opens the Script debug window 

NANANA

10

The Object type drop-down list

Object’s type

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

11

Identifier

The ID 
drop-down list

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

Object’s name

The Object name field

Automatically

Sets

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

user input

the specified object identifier

13

Event

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.