A kind of DragThings with BTT?

@Andreas_Hegenberg A long time ago, there was an app called DragThings. Maybe you remember it :slight_smile: Basically, it consisted of floating menus that allowed you to drag any type of file onto them to access them temporarily or permanently.

It was really handy because it didn't require any configuration.

Would it be possible to create a floating menu with these features using BTT?

This has been on my todo list for a LONG time, I found a prototype named "BetterDrawer" from 2011 in my concepts folder :joy:

Well anyways, in 6.221 I have added a basic "drawer" widget. Here is an example preset that would show it at your mouse location:
drag-drawer.bttpresetzip (15.6 KB)

You would however need to create some trigger, e.g. a keyboard shortcut to show it, that is not included in the preset:

here is an alternative version of the preset that shows the drawer widget when moving / dragging something to the top right corner of the screen:

Requires 6.222

The hot corner menu is pretty much exactly what I was looking for. Thank you, Andreas!

A few thoughts:

  • It doesn’t seem possible to delete just a single document. All will be deleted.

  • A document always opens in the default app. For example, an RTF document automatically opens with TextEdit. It would be helpful to have a feature that allows you to choose the app yourself, perhaps via a context menu?

  • It would be perfect if documents could be moved within the floating menu. Maybe it would be possible to add some kind of grid snapping feature.

you should already be able to right-click to delete specific items or open them with a specific app:

A grid would be interesting, I'll think about how to add that!

:+1: :+1: :+1:

Unfortunately, right-clicking does nothing.

I forgot, which version of macOS are you currently on? (I think context menus in swiftui require at least macOS 13, or maybe 14)

13.7.8

But wait... sometimes it works, 1 time out of 10.

Added a basic grid mode in 6.223 and a way to access the context menu via the toolbar in case right-click still doesn't work

uploading now

Slightly updated preset:
drawer-hot-corner.bttpreset (10.2 KB)

You can also create multiple such drawer widgets, they all track their contents individually.

Oh, this is getting better and better... let me test it a little... I'll be back, as someone said :slight_smile:

Ah found a few stupid issues with that build. Will upload a new one asap :slight_smile:

OK :slight_smile:

Unfortunately, I don't see “open with.” Is it just me?

“Remove from drawer” is a rather dangerous Command if this is set as the default.

The files are not “removed” from the menu, but deleted.

I think most users just want a “Reference,” so perhaps that would be the better default setting, no?

they are copied to a temporary drawer folder and will just be deleted from there when being removed from the drawer, or was that not the case for you?

With the default setting, the original file is deleted (moved to the Mac trash) if "“Remove from drawer” is selected.

This does not happen if “Reference Only” is selected.

*****************

Edit: Sorry, that's a bit confusing :slight_smile:

So, the situation seems to be as follows.

When you select the menu command with the mouse, it does what it's supposed to do, it only deletes the file in the menu.

But the shortcut (cmd + del) actually deletes the file. This probably isn't helpful, but that's how it is here.

I think possibly BTT didn't even catch that shortcut and instead it went to the app that had keyboard focus - which might have been Finder, which then deleted the file.

I'll add some safeguards to this

I tried to drag a trigger from BTT directly into the drawer menu. Something is displayed, but it doesn't trigger.

If it did trigger, it would be the easiest floating menu to configure :slight_smile:

Can you explain what you tried to do there? I think you successfully dragged a trigger from BTT into the drawer (you can now drag it back or drag it into a text editor :slight_smile:

Yes, that works. And this can definitely be useful if you want to move a trigger.

Something completely different :slight_smile:: Drag any trigger from BTT into the drawer, and it could be triggered from there with just one click. Start Safari, go to Space … whatever. The drawer would then be a floating menu that you could fill directly with existing BTT triggers via drag and drop. Easy configuration … just an idea :slight_smile: