Question about Auto Hiding Floating Toolbar

I recently set up a floating toolbar to use as a dock to quickly access scripts I frequently run as well as commonly accessed folder and programs. It's really great how customizable it is! My only issue is I find that I sometimes accidentally activate it when my mouse moves near the area I have it docked and auto hidden. I increased the reveal delay but I'm wondering if there is a way to reveal the toolbar using a keyboard shortcut rather than moving my mouse to the region of the screen where it was docked. Setting the reveal delay definitely helped but a keyboard shortcut would be so much quicker than using the mouse. Thanks!

If you turn off auto-hide, and then set up a hotkey like the one below, you can toggle the toolbar on and off via the keypress:

Toolbar NAME="My Docked Toolbar" STATE=float POS=3840,0 APPBAR=bottom TOGGLE

The POS=3840,0 part only matters if you have more than one monitor and want to be explicit about which screen it opens on. (Otherwise, I think it uses the one that currently has the mouse, or maybe the one the toolbar was last on. Not sure off the top of my head.)

The APPBAR=bottom should be changed if you want it docked to another screen edge.

And the toolbar name should be changed to the one you're using, of course.

@Leo thank you so much! This is exactly what I wanted to do! I really appreciate such a fast reply from you as always. I wish I had another PC so I could justify another license to support the great work you guys do. The second Opus 13 comes around I'll be upgrading to show my support. Thanks again! :slight_smile:

1 Like

To make this even more efficient I added AUTOCLOSE after TOGGLE. This way I can toggle it on and off with my shortcut, but when I make a selection the toolbar autohides for me. This is really useful as I use it to access a few remote machines over RDP and I have shortcuts to the .rdp files on the toolbar. This way once my remote machine goes fullscreen, the toolbar disappears. It also makes the operation a little more logical feeling since once I make a selection naturally I'd want the toolbar to disappear and that saves a keystroke. The sheer amount of customizability in DOpus never cease to amaze me.

3 Likes

Just for anyone potentially looking at this in the future setting POS=mousel will make the toolbar appear on whichever display the mouse is on.

1 Like