Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
To create a macro, do the following:
- Create the Macro object.
- Choose the Macros object in the objects tree of the Programming tab (1).
- Specify the name of the Macro object (2).
- Press the Apply button (3).
After the Macro object is created, its settings panel opens.
Specify the parameter values. Table below gives the description of the parameters.
Note.
To add a row to the Events or Actions table, select a cell in the bottom row of the table and press the "down" arrow on your keyboard.
To delete a row, select a cell in the row and press the Ctrl+Del buttons on the keyboard.
№ | 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. Note. This checkbox does not apply to Hide and Show reactions of any Display. Regardless of the checkbox, wen called from Server/RAW, they are executed on the Server and all connected Clients; when called on Client, they are executed only on the client. | - | 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. |
Events table | ||||||
4 | 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. If the field is left blank, the reaction will be performed for all objects of the selected type. If you enter the symbol # in the field, the identifier of the object from which the event was received will be substituted into the reaction. Object types in Events and Actions tables may differ. When the macro is run manually from the main control panel, the # symbol is treated as if the field was blank, i.e. the macro is executed for all objects of the selected type. |
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. |
13 | Action | Drop-down list | Reaction to be executed for the selected object when the event is registered | - | Empty | The list of registered reaction types for the selected object type |
Parameters table (is set, when parameter should be set to perform action, selected in Actions table) | ||||||
14 | Name | Automatically | Displays name of action’s parameter | Latin alphabet, digits and characters | Empty | Depends on the action, selected in Actions table |
15 | 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 255. |
Outside the groups | ||||||
16 | Response sending delay (sec) | Entering of the value into the field | Sets time period (in seconds) that must pass after events specified in the Events column occur and before executing reactions specified in the Actions column. Note. If the events reoccur before the specified time period expires, the reaction execution wait period is prolonged, i.e. reactions will be executed only once when events do not reoccur over the specified period. | Integer number | - | >0 |
17 | The Fast call field | Left-click in the field and click the required key combination | Sets a shortcut for a macro. If the same combination of hot keys is set for several macros, when clicking a key combination, all of these macros run. Note. You can disable keyboard shortcuts for macros using the UseHotKeys key — see Registry keys reference guide. | Key combinations | No | Some keys of the main or numeric keyboard, as well as these keys in combination with Shift, Ctrl and Alt. |
18 | The Icon type dropdown list | Select in the dropdown list. | Sets a set of icons for displaying a macro on the map. By default, an empty value is set for all macros which corresponds to the Macro 1 icon. Note. Changing the icon appearance will take effect after restarting the map interface. To restart the interface, restart Intellect or log in once again under the corresponding Operator account. | Available icon appearances on the map | - | Macro 1 - Macro 7, empty value. |
Note.
Note.
If required action, event or parameter is absent 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.
3. Click the Apply button to save the settings.