Page 1 of 1
Toolbar Buttons with Dropdowns
Posted: 20 Mar 2025 17:05
by zmachine01
I see that several buttons have dropdown menus. Is it possible that a humble peasant, like myself, could create such a button from which to launch applications from? Here's a pic showing a vision of what I'm imagining in my futuresphere mindscape. Also showing off my Snatchbox accomplishment:

- Run.png (198.4 KiB) Viewed 1595 times
Re: Toolbar Buttons with Dropdowns
Posted: 20 Mar 2025 21:45
by eil
You'll need just a little scripting. Read about scripting command popupmenu / popupnested = these allow to create any drop menus you may desire.
Yet for additional reference, you can right click on Hamburger button in Breadcrumbs menu(3 lines buttons) and select Customize - that's how its menu looks script-wise.
Re: Toolbar Buttons with Dropdowns
Posted: 20 Mar 2025 22:11
by Marc
Right click on toolbar >
Customize Toolbar
On left, scroll down to:
User Button #...
Click
Add
Move it to the place you want in right list
OK
Right Click on the
new button
Change name and ico to what you want
On Left-click field, click
Edit...
Put your program names and command like this
Code: Select all
"Notepad++";
run '"C:\Program Files\Notepad++\notepad++.exe"';
"FireFox"
run '"C:\Program Files\Mozilla Firefox\firefox.exe"';
"Sumatra PDF"
run '"C:\Program Files\SumatraPDF\SumatraPDF.exe"';
(quote programs with '" ... "' (apostrophe and quotation mark ) and end with ;
OK
OK
That all
See
Scripting on help for more details (in the middle of page: XYplorer Script Files)

Re: Toolbar Buttons with Dropdowns
Posted: 20 Mar 2025 22:12
by jupe
You don't need scripting.
You can just put a list of full paths to exe's, one per line, if you want custom captions, append them after the path with a semicolon separator, like this:
c:\path\executable.exe;IronCAD
Re: Toolbar Buttons with Dropdowns
Posted: 20 Mar 2025 22:24
by Marc
You can just put a list of full paths to exe's, one per line, if you want custom captions, append them after the path with a semicolon separator [...]
Yes! Even simpler, and it also displays program icons.
Thanks a lot!

Re: Toolbar Buttons with Dropdowns
Posted: 21 Mar 2025 12:14
by zmachine01