Toolbar » History » Revision 19

Revision 18 (Per Amundsen, 06/28/2016 01:38 PM) → Revision 19/31 (Per Amundsen, 08/22/2016 10:14 AM)

_Added in 1.9.1_ 

 */toolbar [on|off] [-aidmsxkNnNzNebwhyNurctplof[sld]] [N] &lt;name/N&gt; &lt;tooltip&gt; &lt;picfile|<notextile>@</notextile>&gt; [x y w h] [/alias] [popfile|<notextile>@</notextile>]* 


 -a - Add button. 
 -i - Insert button at position [N]. 
 -d - Deletes the Nth button or <name>. 
 -m - Moves button <name/N> to position [N]. 
 -s - Add separator. 
 -x - TODO 
 -kN - Check or uncheck the Nth button or <name>, 0 = check, 1 = uncheck. 
 -nN - icon index in picfile. 
 -zN - Icon size, 1 = small, 2 = large, 3 = actual. 
 -e - Enable button [N] or <name>. 
 -b - Disable button [N] or <name>. 
 -w - Show button [N] or <name> 
 -h - Hide button [N] or <name> 
 -yN - TODO 
 -u - Update display immediately. 
 -r - Resets all buttons to default. 
 -c - Clear all buttons. 
 -t - Update tooltip. 
 -p - Update picfile. 
 -l - Update alias. 
 -o - Update popupfile. 
 -f - TODO 


 [on|off] - Enables/Disables Toolbar, use [[$toolbar]] to determine toolbar status. 
 [N] - Button position to modify. 
 &lt;name/N&gt; - Name or position of button to modify. 
 &lt;tooltip&gt; - Tooltip for the button. 
 &lt;picfile|<notextile>@</notextile>&gt; - Icon/Image file to use for the button or pic window name. 
 [x y w h] - TODO 
 [/alias] - Alias command to add to the button. 
 [popfile|<notextile>@</notextile>] - popfile = TODO, @name pic window name. 


 ; Add a button. 
 /toolbar -a mybutton "My button tooltip" "c:\icons\myicon.png" "/mycommand" 

 ; Change the icon. 
 /toolbar -p mybutton "c:\icons\myicon2.png" 

 ; Change the alias. 
 /toolbar -l mybutton /mycommand2 

 ; Remove a button. 
 /toolbar -d mybutton