Project

General

Profile

Actions

Statusbar » History » Revision 5

« Previous | Revision 5/22 (diff) | Next »
Per Amundsen, 09/12/2015 06:34 PM


Added in 1.9.0

/statusbar [on|off]

Enables/disables Statusbar. $statusbar can be used to determine it's state.

If no parameter is defined, prints current Statusbar visibility status.

Parameters

[on] - Enables Statusbar.
[off] - Disables Statusbar.

Added in 1.9.7

/statusbar <-adtbpoishnN> [N] <N|name> <tooltip> <@popup> [/alias] <text|picfile> [text]

Adds or removes custom text items/icons to the Statusbar.

Switches

-a - Add a new item.
-d - Delete item named 'name' or the Nth item.
-t - Change the tooltip text.
-b - Change the text.
-p - Change the picfile/icon.
-o - Change the associated @popup.
-i - Insert a item at position N.
-w - Show a hidden item.
-h - Hide a item.
-nN - Indicates picfile is defined, N is the Nth icon index in a exe/dll file.

Parameters

[N] - Used with -d and -i to delete the Nth item or insert at the Nth position.
<N|name> - Insert a item at the Nth position or the name of the item to modify/add.
<tooltip> - The tooltip text.
<@popup> - Popup to associate with the item.
[/alias] - Optional alias to execute when the item is doubleclicked.
<text|picfile> - The item item or picfile/icon to use when -n is defined.
[text] - Optional text to add to a picfile/icon.

Example

; Create an example menu.
menu @Example {
  Hello World:echo -ag Hello World menu
}

alias example {
  echo -ag Hello world alias
}

; Create a new statusbar item named 'example'.
/statusbar -a example @example /example Example

; Update the text of the statusbar item 'example'.
/statusbar -b example Example2

: Delete the statusbar item named 'example'
/statusbar -d example

Updated by Per Amundsen over 4 years ago · 5 revisions

Also available in: PDF HTML TXT