Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howtos:using_with_tcl_tk [2018/04/14 07:29] – ornaments aplsimple | howtos:using_with_tcl_tk [2018/04/15 06:38] – simplified separator aplsimple | ||
---|---|---|---|
Line 20: | Line 20: | ||
* calling a context help for [[http:// | * calling a context help for [[http:// | ||
- | * [[http:// | + | * [[http:// |
* opening any number of menus containing any commands (programs) to run | * opening any number of menus containing any commands (programs) to run | ||
Line 54: | Line 54: | ||
* menu items can be bound to hotkeys F1-F12 (by default they are bound to 1-9a-z) | * menu items can be bound to hotkeys F1-F12 (by default they are bound to 1-9a-z) | ||
- | * menu items and their underlying commands can include up to 9 counters of runs per a menu | + | * menu items and their underlying commands can include up to 10 counters of runs per a menu |
* menu items and their underlying commands can be supplied with current date/time | * menu items and their underlying commands can be supplied with current date/time | ||
Line 76: | Line 76: | ||
* [[using_with_tcl_tk|e_menu]] can be started with a pause to delay its initialization | * [[using_with_tcl_tk|e_menu]] can be started with a pause to delay its initialization | ||
- | * items can be run repeatedly | + | * items can be run repeatedly |
* [[using_with_tcl_tk|e_menu]] neighboring applications can be killed with two keystrokes (well fit to clear) | * [[using_with_tcl_tk|e_menu]] neighboring applications can be killed with two keystrokes (well fit to clear) | ||
- | |||
- | * menu text font and font size may be set at calling | ||
* there are a lot of 'look and feel' options (inc. highlighting ' | * there are a lot of 'look and feel' options (inc. highlighting ' | ||
Line 86: | Line 84: | ||
* the options may be set at calling of [[using_with_tcl_tk|e_menu]] and/or in [OPTIONS] section of a menu | * the options may be set at calling of [[using_with_tcl_tk|e_menu]] and/or in [OPTIONS] section of a menu | ||
- | * parent menu options are inherited by child menu and are overridden by its [OPTIONS] | + | * parent menu options are inherited by child menu and can be overridden by its [OPTIONS] |
- | * [[https:// | + | * as an example, |
* encoding of menus is utf-8 | * encoding of menus is utf-8 | ||
Line 130: | Line 128: | ||
Please try this: | Please try this: | ||
- | 1. If you do not have [[http:// | + | 1. If you do not have [[http:// |
2. Unpack the below attached zip to save files: | 2. Unpack the below attached zip to save files: | ||
Line 250: | Line 248: | ||
|// " | |// " | ||
- | Note: options s0..s9 | + | Note: options s0..s9, u0..u9, x*, y*, z* can include wildcards used in menu commands, e.g.: |
"s0= run #%i0 at %t2" | "s0= run #%i0 at %t2" | ||
Line 262: | Line 260: | ||
Most options of a call string can be set in [OPTIONS] section of a menu file, e.g. : | Most options of a call string can be set in [OPTIONS] section of a menu file, e.g. : | ||
- | R:?6? | + | R: |
+ | R: Firefox search for " | ||
R: Wikipedia for " | R: Wikipedia for " | ||
R: Open/create file(s) " | R: Open/create file(s) " | ||
R: geany: edit all R: geany readme.md wiki.txt e_help.tcl e_menu.tcl | R: geany: edit all R: geany readme.md wiki.txt e_help.tcl e_menu.tcl | ||
| | ||
- | | + | |
+ | MW: Git MW: m=%PN/ | ||
MW: Tcl/ | MW: Tcl/ | ||
MW: Python | MW: Python | ||
Line 377: | Line 377: | ||
< | < | ||
# ... | # ... | ||
+ | | ||
[OPTIONS] | [OPTIONS] | ||
# ... options of e_menu call string | # ... options of e_menu call string | ||
Line 881: | Line 881: | ||
5th color scheme can be used to open a potentially dangerous menu, e.g. containing some irrevocable commands. | 5th color scheme can be used to open a potentially dangerous menu, e.g. containing some irrevocable commands. | ||
- | |||
- | You can use a special form of item name to set a separator before it, namely: | ||
- | |||
- | R: ?N? name R: command | ||
- | |||
- | where ?N? contains a number negative to set a visible separator (e.g. ?-5?) or positive to set a separating empty space (e.g. ?5?). The N number sets a vertical size of separator. | ||
The dangerous and irrevocable commands may be collected under a red menu as big as a monitor screen, e.g.: | The dangerous and irrevocable commands may be collected under a red menu as big as a monitor screen, e.g.: | ||
Line 895: | Line 889: | ||
{{: | {{: | ||
+ | |||
+ | You can use a special form of menu item name to set a separator, namely: | ||
+ | |||
+ | R: R: N | ||
+ | | ||
+ | or | ||
+ | | ||
+ | R: -- R: N | ||
+ | |||
+ | where N sets a vertical size of separator. If the item name contains " | ||
+ | |||
\\ | \\ | ||
Line 1177: | Line 1182: | ||
[[http:// | [[http:// | ||
- | Notice that [[using_with_tcl_tk|e_menu]] is still disposed to update. At least I would try and support its [[http:// | + | Notice that [[using_with_tcl_tk|e_menu]] is still disposed to update. At least I would try and support its [[http:// |
\\ | \\ |