Statusbar » History » Version 22
Per Amundsen, 03/28/2018 09:47 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | */statusbar [on|off]* |
||
| 4 | |||
| 5 | Enables/disables Statusbar. [[$statusbar]] can be used to determine it's state. |
||
| 6 | |||
| 7 | If no parameter is defined, prints current Statusbar visibility status. |
||
| 8 | |||
| 9 | *Parameters* |
||
| 10 | |||
| 11 | 19 | Mr. BS | table(ktable). |
| 12 | |_<. Parameter |_<. Description | |
||
| 13 | | [on] | Enables Statusbar. | |
||
| 14 | | [off] | Disables Statusbar. | |
||
| 15 | 2 | Per Amundsen | |
| 16 | 19 | Mr. BS | --- |
| 17 | 13 | Per Amundsen | |
| 18 | 2 | Per Amundsen | _Added in 1.9.7_ |
| 19 | |||
| 20 | 17 | Per Amundsen | */statusbar <-adrtgpoijlhnNzN> [N] <N|name> <tooltip> <@popup> [/alias] [picfile] [text]* |
| 21 | 1 | Per Amundsen | |
| 22 | Adds or removes custom text items/icons to the Statusbar. |
||
| 23 | |||
| 24 | *Switches* |
||
| 25 | |||
| 26 | 19 | Mr. BS | table(ktable). |
| 27 | |_<. Switch |_<. Description | |
||
| 28 | | -a | Add a new item. | |
||
| 29 | | -d | Delete item named <name> or the Nth item. | |
||
| 30 | | -r | Resets all items to default. | |
||
| 31 | | -t | Change the tooltip text. | |
||
| 32 | | -g | Change the text. | |
||
| 33 | | -p | Change the picfile/icon. | |
||
| 34 | | -o | Change the associated @popup. | |
||
| 35 | | -i | Insert a item at position N. | |
||
| 36 | | -j | Indicates [/alias] is defined. | |
||
| 37 | | -l | Change the alias. | |
||
| 38 | | -w | Show a hidden item. | |
||
| 39 | | -h | Hide a item. | |
||
| 40 | | -nN | Indicates [picfile] is defined, N is the Nth icon index in a exe/dll file. | |
||
| 41 | | -zN | Icon size to use before it's resized in Statusbar height, 1 = small, 2 = large, 3 = actual. | |
||
| 42 | 15 | Per Amundsen | |
| 43 | 2 | Per Amundsen | *Parameters* |
| 44 | |||
| 45 | 19 | Mr. BS | table(ktable). |
| 46 | |_<. Parameter |_<. Description | |
||
| 47 | | [N] | Used with -d and -i to delete the Nth item or insert at the Nth position. | |
||
| 48 | | <notextile><N|name></notextile> | Insert a item at the Nth position or the name of the item to modify/add. | |
||
| 49 | | <tooltip> | The tooltip text. | |
||
| 50 | | <@popup> | Popup to associate with the item. | |
||
| 51 | | [/alias] | Optional alias to execute when the item is doubleclicked. | |
||
| 52 | 22 | Per Amundsen | | <notextile>[picfile]</notextile> | The picfile/icon to use when -n is defined. | |
| 53 | 19 | Mr. BS | | [text] | Optional text to add to a picfile/icon. | |
| 54 | 2 | Per Amundsen | |
| 55 | *Example* |
||
| 56 | |||
| 57 | <pre> |
||
| 58 | ; Create an example menu. |
||
| 59 | menu @Example { |
||
| 60 | Hello World:echo -ag Hello World menu |
||
| 61 | } |
||
| 62 | |||
| 63 | alias example { |
||
| 64 | echo -ag Hello world alias |
||
| 65 | } |
||
| 66 | |||
| 67 | ; Create a new statusbar item named 'example'. |
||
| 68 | /statusbar -a example @example /example Example |
||
| 69 | |||
| 70 | ; Update the text of the statusbar item 'example'. |
||
| 71 | /statusbar -g example Example2 |
||
| 72 | 11 | Mr. BS | |
| 73 | 2 | Per Amundsen | : Delete the statusbar item named 'example' |
| 74 | /statusbar -d example |
||
| 75 | |||
| 76 | 19 | Mr. BS | ; Create a new statusbar item in position 4. |
| 77 | 20 | Mr. BS | /statusbar -ij 4 example "" @example "/example Example" "Example" |
| 78 | 1 | Per Amundsen | </pre> |