How to create a middle toolbar?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
jupe
Posts: 2788
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: How to create a middle toolbar?

Post by jupe »

Tacobellrox wrote:add a "This Computer" button to the xyployer toolbar so that it is only a single click to focus on the entire computer for a search?
You can add the built in "This PC" button to the toolbar, but that would require 2 clicks, or alternatively if you definitely only want it to function with 1 click you can type snippet; in the XY address bar and then paste the following code block into the window that pops up, it will add a new button to the far right of your toolbar, you can move it afterwards if necessary by right clicking it and selecting Customize Toolbar.

Code: Select all

Snip: CTB 1
  XYplorer 18.90.0100, 8/4/18 4:03:14 AM
Action
  NewUserButton
Name
  This PC
Icon
  :myco
ScriptL
  ::goto "This PC";
ScriptR
  
FireClick
  0

Tacobellrox
Posts: 13
Joined: 15 Aug 2017 10:27
Location: Planet Earth (You can usually find me and my co-workers most weekdays @ lunch time @ Taco Bell)

Re: How to create a middle toolbar?

Post by Tacobellrox »

Thank you, that worked! How do I up vote your reply or credit you some how?

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

LOL. The solution came 18 minutes after your question. And your Thank You came 2.5 years after that. Do you work somewhere far from this solar system?

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

Oh, planet Earth! By chance that's where I work as well. :)

joshi123
Posts: 1
Joined: 20 Sep 2020 08:31

Re: How to create a middle toolbar?

Post by joshi123 »

As a matter of fact, a center bar is an incredible thing. I am stating this as a client of Directory Opus. You can put all the oftentimes utilized document tasks alternate routes there (duplicate, move, erase, rename, and so on.), the alternate way for "duplicate envelope address to clipboard", just as the bolts for organizer route. Right now I need to move the cursor as far as possible up and left to get to those bolts (return, go up in the organizer tree) and it isn't advantageous.
Sorry, using a signature is not allowed for new users.

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

XY has the Catalog. It's vertical as well and you can narrow it down to a mere bar. :)

eil
Posts: 1620
Joined: 13 Jan 2011 19:44

Re: How to create a middle toolbar?

Post by eil »

admin wrote: 20 Sep 2020 09:08 XY has the Catalog. It's vertical as well and you can narrow it down to a mere bar. :)
:shock: damn, however obvious this may be, you should really add this with example pictures to some hints - never thought about Catalog as a thin vertical toolbar, and surely there are people who may find this idea useful.
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

I just added something you will like:

Code: Select all

    + Catalog: Now you can easily add toolbar buttons with their icons, 
      captions, and functionality to the Catalog. Simply add the button key 
      prefixed by ":" to the Location field of the Catalog item. Everything else 
      can be left empty and at the default values.
      Examples:
        Location: :back
        Location: :fore
        Location: :dice
      Tip: A quick way to find out the button keys is to mouse-over a toolbar 
      button while holding CTRL. The tooltip will show "button: <key>".

eil
Posts: 1620
Joined: 13 Jan 2011 19:44

Re: How to create a middle toolbar?

Post by eil »

admin wrote: 20 Sep 2020 11:43 I just added something you will like:
nice addition! :tup:
Win 7 SP1 x64 100% 1366x768

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

Just to illustrate how easy it is now to add a button to the catalog, e.g. the Up button:
Attachments
Catalog-Up.png
Catalog-Up.png (9.87 KiB) Viewed 1471 times

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: How to create a middle toolbar?

Post by aurumdigitus »

Seems so very simple but must be missing the obvious. Cannot get it to work on v21.10. :veryconfused:

highend
Posts: 13309
Joined: 06 Feb 2011 00:33

Re: How to create a middle toolbar?

Post by highend »

Because it's in v21.10.0005?
One of my scripts helped you out? Please donate via Paypal

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: How to create a middle toolbar?

Post by aurumdigitus »

There's many a slip 'twixt the cup and the lip
As stated may be missing the obvious. But the post ought to point out it was not extant.

admin
Site Admin
Posts: 60531
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to create a middle toolbar?

Post by admin »

Hm, not much feedback here. I found the Toolbar-in-Catalog or Catalog-as-Toolbar feature quite interesting. OK, I will make it better... :)

Gandolf

Re: How to create a middle toolbar?

Post by Gandolf »

admin wrote: 20 Sep 2020 09:08 XY has the Catalog. It's vertical as well and you can narrow it down to a mere bar. :)
But can the catalogue be positioned between two vertically split panes (no tree)? That is the ideal position (and where I have it) for a vertical toolbar.

Post Reply