Differences
This shows you the differences between the selected revisions of the page.
2016-11-02 | 2016-11-30 | ||
library_example_advanced_rename (martin) | 5.9.3 Site-specific extension options (martin) | ||
Line 54: | Line 54: | ||
<code> | <code> | ||
- | @option <name> -config|-run <type> "<caption>" <default> <additional ...> | + | @option <name> [-config [-site]] [-run] <type> "<caption>" <default> <additional ...> |
</code> | </code> | ||
Line 61: | Line 61: | ||
| ''-config'' | The option is used when configuring the extension on [[ui_pref_commands|Preferences dialog]]. | | | ''-config'' | The option is used when configuring the extension on [[ui_pref_commands|Preferences dialog]]. | | ||
| ''-run'' | The option is used when running the extension. When both the ''-config'' and the ''-run'' are used, the value configured on the Preferences dialog is used as the default value, when running the extension. | | | ''-run'' | The option is used when running the extension. When both the ''-config'' and the ''-run'' are used, the value configured on the Preferences dialog is used as the default value, when running the extension. | | ||
+ | | ''-site'' | A value of the option is site-specific. A session has to be opened, when configuring an extension with site-specific option. | | ||
| ''type'' | Type of the option or options dialog control. \\ Supported types are: ''textbox'', ''file'', ''dropdownlist'', ''combobox'', ''checkbox'', ''label'', ''link'' | | | ''type'' | Type of the option or options dialog control. \\ Supported types are: ''textbox'', ''file'', ''dropdownlist'', ''combobox'', ''checkbox'', ''label'', ''link'' | | ||
| ''caption'' | Caption of the options dialog control representing the option. | | | ''caption'' | Caption of the options dialog control representing the option. | |