Configuration file for script buttons
The INI file must be named after the script to be defined (ScriptButton1.ini, ScriptButton2.ini, ScriptButton3.ini).
ButtonProperties
In the [ButtonProperties] section, the following keys can be configured:
| Key | I/O | Description |
|---|---|---|
| Text | I | Labeling of the button |
| Tooltip | I | Tooltip of the button in the GUI |
| Text_<Language> | I | Translation of the labeling of the button in the GUI (_DE / _EN ..) |
| Tooltip_<Language> | I | Translation of the tooltip of the button in the GUI (_DE / _EN ...) |
| ComponentSpecific | I | The information received in the script regarding selected components, with multi-selection for each selected component. Possible values are Y and N. Default value is N. |
| VisibleForGroups | I | Group IDs for which the button is visible. Multiple IDs are separated by semicolons ( <ID>;<ID>;...) |
| InvisibleForGroups | I | Group IDs for which the button is not visible. Multiple IDs are separated by semicolons ( <ID>;<ID>;...) |
If a user is a member of groups listed under both VisibleForGroups and InvisibleForGroups, the button is not displayed (<ID>;<ID>;...).
Icons for script buttons
The following file types can be used as icons for script buttons:
- BMP
- JPG
- PNG
The file must be named after the script (ScriptButton1.png, ScriptButton2.jpg, ScriptButton3). The search is aborted with the first file found, the order corresponds to the above list.
The size of the image file should be 32×32 pixels.
Related topics