Toolbar Search Engine Support

Toolbar Search Engine Support.
When creating an Toolbar then you have alot off options to create buttons inside the toolbar.
But it would be usefull to add search engine for the toolbar aswell.
Example when i have a button called "Store", then when i type Store inside the Search Engine it shows all buttons what is called Store.

i upvote this, again, I've posted about it this somewhere in the forums before.

I've been putting heavy time and modifications to my dopus set up.

with multiple tool bars containing, could be nearing hundreds of buttons, scripts (from here), commands (copied and custom) etc etc etc.

I think one of the only integrated features that dopus is missing, and could benefit greatly from, is this new "Command Bar" search box that i see popping up in many programs the past few years.

There's about 7ish Search Boxes throughout the various settings windows that can find the most all commands & settings from... Preferences (not counting subpages search boxes such as aliases, colors, advanced, etc) , Customize (Keys | Commands | User Commands | Default Toolbars), File Types, Rename Presets & Folder Formats (columns). [and\or more i haven't found yet?]

It would be AMAZING! to be able to do an internal search for all these settings, keys, commands & buttons from one box on a toolbar, when click it could open said setting window and\or button!!! :heart: :smiley:

dopus has so many settings windows i set F9, F10, F11 & F12 to open the main ones, with modifiers for the fine tune windows, e.g. F9 = Properties FOLDEROPTIONS, Ctrl+F9 = Preferences / Folders / Folder Formats, Alt+F9 = Preferences / Frequently Used Paths / Folder Aliases, etc and so on for the rest of the row. but i now I'm just rambling.


if i knew jscript i'd might try to write such a search box. the best could dream up for this work would be to make box that would search the Content in the .xmls titles, descriptions, and // comments, integrated with how the prefs windows search within themselves. i wouldn't know where to being to put that together.

x

1 Like

You mean like a Command Palette but for toolbars? Thats sounds doable, at least to some extent.
Now, if someone is willing to spend their free time writing it (the script command), that's another story...

yeah, vs code calls it a the command palette. codes command palette is a bit over my head, i just started playing with it this year.

and Notepad++ has this Menu Search Plugin. which is almost better than codes, being more simple, it searches everything in the internal settings & menus & items of all the other plugins you have installed.

there's no need to every open the prefs in NPP++ with that. i set a hotkey for that box, search, hit enter and it will take you to the page or excite\toggle a menu item.

which there are hundreds when you start loading plugin, which have their own menu. it finds them all quickly.

Here's what I got in the last hour, reusing some dialog scripts:

At least for the time inverted, it looks decent. There are some quirks and definitely needs some ironing out :

  • The command knows the icons related with each button, but AFAIK, those can't be used in a listview (let me know if I'm wrong on this).
  • It has support for excluding words, so that p.e. you can exclude those buttons with dynamic content (Go FOLDERCONTENT, etc).
  • Dynamic labels via Evaluator are not supported at the moment (and probably never will be).
  • Location bars are not supported at the moment.
  • Hotkeys only are not supported at the moment (but it makes sense to add that).
  • If the button command can be used loading line by line in a Command object, then it will work in this context.

(FWIW, this is a proof of concept just for fun and to demonstrate the power of DOpus regarding scripts.)

1 Like

bravo! that is awesome!!! :smiley:

dopus is so crazy powerful i proably use barely use 4% of it.

alas I'm not a programmer.