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