Go to documentation repository
Documentation for Intellect 4.10.4. Documentation for other versions of Intellect is available too.
Previous page Next page
To create a macro, do the following:
- Create the Macro object.
- Choose the Macro object in the objects tree of the Programming tab.
- Specify the name of the Macro object.
- Press the Apply button.
After the Macro object is created, its settings panel opens. - Specify the parameter values. Table below gives the description of the parameters.
Table 8.23—1
№ | Name | Field type | Description | Format | Default value | Value range |
Settings group | ||||||
1 | State | Select from drop-down list, or type in | The message to display during macro execution. A Standard value is selected, no message is displayed. | - | Empty | A list of available messages plus Standard. |
2 | Local | Checkbox | If the checkbox is checked, the macro can be executed on the local computer only. | - | No | Checked - local only. Unchecked – any computer. |
3 | Hidden | Checkbox | If the checkbox is checked, the macro cannot be executed manually. | - | No | Checked – execute. Unchecked – don’t execute. |
4 | Events table | |||||
Type | Drop-down list | Defines the object to be the source of the event that will trigger this macro. | - | Empty | All active device and module objects | |
5 | Number | Drop-down list | Defines the number of the object to be the source of the event that will trigger this macro. | - | Empty | The numbers of all active device and module objects. If the Computer object is selected in the Type column, enter its name here. |
6 | Name | Enters automatically on right-click | Information type | - | Empty | Enters automatically according to the Type and Number values |
7 | Event | Drop-down list | Event type | - | Empty | The list of registered event types |
Parameters table (is set, when parameter should be set for events, selected in Events table) | ||||||
8 | Name | Automatically | Displays name of event’s parameter | Latin alphabet, digits and characters | Empty | Depends on the event, selected in Events table |
9 | Value | Entering of the text into the field | Set the value of event’s parameter | Latin alphabet, digits and characters | Empty | A line of any characters. The number of characters is from 1 to 250. |
| Actions table | |||||
10 | Type | Drop-down list | Defines the object to be the source of the event that will trigger this macro. | - | Empty | All active devices and module objects |
11 | Number | Drop-down list | Defines the number of the object to be the source of the event that will trigger this macro. | - | Empty | The numbers of all active devices and module objects. If the Computer object is selected in the Type column, enter its name here. |
12 | Name | Automatically | Displays name of the selected object | Name of objects, registered in the system and of specified type | Empty | A line of any characters. The number of characters is from 1 to 60.
|
Parameters table (is set, when parameter should be set to perform action, selected in Actions table) | ||||||
13 | Name | Automatically | Displays name of action’s parameter | Latin alphabet, digits and characters | Empty | Depends on the action, selected in Actions table |
14 | Value | Entering of the text into the field | Set the value of action’s parameter | Latin alphabet, digits and characters | Empty | A line of any characters. The number of characters is from 1 to 250.
|
Note.
Note.
If required action, event or parameter is absend in the corresponding table, add it in the ddi-file with the ddi.exe utility (see Editing the external setting file (intellect.ddi) using the ddi.exe utility)
Note.
6. Click the Apply button to save the settings.