The following snippet will look for the next free user button (that's Action: NewUserButton), then add it to the right end of the toolbar, and define it according to the snippet.
Code: Select all
Snip: CTB 1
XYplorer 9.50.0002, 13.09.2010 09:00:10
Action
NewUserButton
Name
Various Mini Trees
Icon
:minitree
ScriptL
"Just two drives|:minitree" loadtree "C:|D:";
"Just scripts|:minitree" loadtree "<xydata>\scripts";
"Tree number three|:minitree" loadtree "%programfiles%|%temp%|<xypath>";
ScriptR
FireClick
1
Code: Select all
::snippet;
Code: Select all
$a = input("Enter Snippet", , , "m"); snippet $a;
Happy snipping!