Toolbar » History » Version 29
  Per Amundsen, 10/10/2022 01:05 AM 
  
| 1 | 9 | Per Amundsen | _Added in 1.9.1_  | 
|---|---|---|---|
| 2 | 1 | Per Amundsen | |
| 3 | 21 | Per Amundsen | */toolbar [on|off] [-aidmsxkNnNzNebwhyNurctplof[sld]gN] [N] <name/N> <tooltip> <picfile|<notextile>@</notextile>> [x y w h] [/alias] [popfile|<notextile>@</notextile>]*  | 
| 4 | 9 | Per Amundsen | |
| 5 | 27 | Per Amundsen | Allows modifying/adding/removing [[Toolbar_Control|Toolbar]] buttons.  | 
| 6 | 23 | Per Amundsen | |
| 7 | 28 | Per Amundsen | _See also [[$toolbar]], [[Toolbar_Control|Toolbar]]._  | 
| 8 | 23 | Per Amundsen | |
| 9 | 1 | Per Amundsen | *Switches*  | 
| 10 | |||
| 11 | -a - Add button.  | 
||
| 12 | 16 | Per Amundsen | -i - Insert button at position [N].  | 
| 13 | 12 | Per Amundsen | -d - Deletes the Nth button or <name>.  | 
| 14 | 15 | Per Amundsen | -m - Moves button <name/N> to position [N].  | 
| 15 | 1 | Per Amundsen | -s - Add separator.  | 
| 16 | 25 | Per Amundsen | -x - *TODO*  | 
| 17 | 18 | Per Amundsen | -kN - Check or uncheck the Nth button or <name>, 0 = check, 1 = uncheck.  | 
| 18 | 10 | Per Amundsen | -nN - icon index in picfile.  | 
| 19 | 1 | Per Amundsen | -zN - Icon size, 1 = small, 2 = large, 3 = actual.  | 
| 20 | 17 | Per Amundsen | -e - Enable button [N] or <name>.  | 
| 21 | -b - Disable button [N] or <name>.  | 
||
| 22 | -w - Show button [N] or <name>  | 
||
| 23 | -h - Hide button [N] or <name>  | 
||
| 24 | 26 | Per Amundsen | -yN - *TODO*  | 
| 25 | 1 | Per Amundsen | -u - Update display immediately.  | 
| 26 | 14 | Per Amundsen | -r - Resets all buttons to default.  | 
| 27 | 13 | Per Amundsen | -c - Clear all buttons.  | 
| 28 | 1 | Per Amundsen | -t - Update tooltip.  | 
| 29 | -p - Update picfile.  | 
||
| 30 | -l - Update alias.  | 
||
| 31 | 8 | Per Amundsen | -o - Update popupfile.  | 
| 32 | 26 | Per Amundsen | -f - *TODO*  | 
| 33 | 25 | Per Amundsen | -gN - Sets the button alignment, 0 = left, 1 = right. *(AdiIRC only)*  | 
| 34 | 1 | Per Amundsen | |
| 35 | *Parameters*  | 
||
| 36 | |||
| 37 | 27 | Per Amundsen | [on|off] - Enables/Disables [[Toolbar_Control|Toolbar]], use [[$toolbar]] to determine [[Toolbar_Control|Toolbar]] status.  | 
| 38 | 1 | Per Amundsen | [N] - Button position to modify.  | 
| 39 | <name/N> - Name or position of button to modify.  | 
||
| 40 | <tooltip> - Tooltip for the button.  | 
||
| 41 | 4 | Per Amundsen | <picfile|<notextile>@</notextile>> - Icon/Image file to use for the button or pic window name.  | 
| 42 | 22 | Per Amundsen | [x y w h] - Position and size of the image/bitmap to use. (not used for icons)  | 
| 43 | 1 | Per Amundsen | [/alias] - Alias command to add to the button.  | 
| 44 | 11 | Per Amundsen | [popfile|<notextile>@</notextile>] - popfile = TODO, @name pic window name.  | 
| 45 | 19 | Per Amundsen | |
| 46 | *Example*  | 
||
| 47 | |||
| 48 | <pre>  | 
||
| 49 | ; Add a button.  | 
||
| 50 | /toolbar -a mybutton "My button tooltip" "c:\icons\myicon.png" "/mycommand"  | 
||
| 51 | |||
| 52 | ; Change the icon.  | 
||
| 53 | /toolbar -p mybutton "c:\icons\myicon2.png"  | 
||
| 54 | |||
| 55 | ; Change the alias.  | 
||
| 56 | /toolbar -l mybutton /mycommand2  | 
||
| 57 | |||
| 58 | ; Remove a button.  | 
||
| 59 | /toolbar -d mybutton  | 
||
| 60 | 29 | Per Amundsen | |
| 61 | ; Add a separator.  | 
||
| 62 | /toolbar -as sep42  | 
||
| 63 | 19 | Per Amundsen | </pre>  | 
| 64 | 20 | Per Amundsen | |
| 65 | *Default buttons*  | 
||
| 66 | |||
| 67 | <pre>  | 
||
| 68 | tsb1 = Disconnected  | 
||
| 69 | tsb26 = Connecting  | 
||
| 70 | tsb27 = Connected  | 
||
| 71 | tsb2 = Serverlist  | 
||
| 72 | tsb3 = Options  | 
||
| 73 | tsb4 = Dcc Transfer monitor panel  | 
||
| 74 | tsb5 = Separator  | 
||
| 75 | tsb6 = Cascade  | 
||
| 76 | tsb7 = Tile Horizontal  | 
||
| 77 | tsb8 = Tile Vertical  | 
||
| 78 | tsb9 = Separator  | 
||
| 79 | tsb10 = Open Winamp  | 
||
| 80 | tsb11 = Media Mlayer previous song  | 
||
| 81 | tsb12 = Media Player play song  | 
||
| 82 | tsb13 = Media Player pause song  | 
||
| 83 | tsb14 = Media Player stop song  | 
||
| 84 | tsb15 = Media Player next song  | 
||
| 85 | tsb16 = Now playing  | 
||
| 86 | tsb17 = Separator  | 
||
| 87 | tsb18 = Search box  | 
||
| 88 | tsb19 = Choose search engine  | 
||
| 89 | tsb20 = Separator right aligned  | 
||
| 90 | tsb21 = Memory usage  | 
||
| 91 | tsb22 = Cpu usage  | 
||
| 92 | tsb23 = Channellist  | 
||
| 93 | 24 | Per Amundsen | tsb28 = Script Editor  | 
| 94 | 20 | Per Amundsen | tsv24 = Dcc Transfer Progress  | 
| 95 | tsb25 = Clock  | 
||
| 96 | </pre>  |