what is the most efficient way to toggle the display of an image (reference chart) ?

Hello, I have multiple reference charts that I am constantly consulting. I don't want to put them in a floating menu. I prefer to dedicate one trackpad gestures per chart, each gesture would toggle the display of the chart (image).
thanks in advance for your time and help

You could simply use the “open file” action. :slightly_smiling_face:

Or you could use the Clipboard (snippet) Manager. Each reference is a separate group and shows a chart.

With a gesture that triggers a cycle action you could then switch from chart to chart (group to group). As the clipboard manager can only show one window at a time, the old window closes automatically as soon as you open a new one.

1 Like

Using the clipboard manager with a snippet group is indeed a good option.

A floating menu or a floating webview would also work well. I think I will soon add a dedicated action to show images / documents in a window.

Here is a floating menu example (requires BTT 5.411 alpha). When doing a three finger swipe down it shows the floating menu and loads some dummy chart into it. You can of course change that to place any other chart image into it via different gestures:

floating-image.bttpresetzip (194.6 KB)

2 Likes

thank you @Andreas_Hegenberg !

thank you @Frank1 ! You are everywhere ! thank you for the suggestions.

  • I don't want to cycle clipboard images.
  • yes, I can open the file. The question is then how do I toggle it (open close)?

Well, you could just close the window (or the app) :slightly_smiling_face: Perhaps something like this can be done: If the window (name) is closed, open it; if the window is open, close it.

Or maybe the actions “Activate specific window” or “Show/hide specific app” will help?

Here is a toggle action for a specific window of a specific app.

Toggle Window "name".bttpreset (5.6 KB)

If the app is not yet running, it will be started. Then the “name” window is shown and hidden.

  • Enter the name of the window and the app in the “Activate specific window” action.

  • Select a file for the “open file” action.

  • Enter everything again for the “Activate specific window” action, as above.

Choose a shortcut. Now “this window” of "this app" should be shown/hidden.

You can certainly do it better, or you can do it like this. :slightly_smiling_face:

1 Like

Hello Andreas,

the idea seems very interesting. Now that I have the BTT 5.416 update, I installed your preset, but all I see with 3 finger ↓ is "show charts" (below). I would like to have actually seen your dummy charts so I can simply edit them instead of re-creating the whole floating menu because it's a topic I have difficulty with.
I am also appending the screenshot below to show you that floating-image preset is installed
thank you very much !

image

mh it is set to show up at the top right of the focused screen at a small size, nothing is showing up for you there? Which version of macOS are you on?

After adjusting item size and/or position, the webview stays empty prob. due to some inconsistancies:

thank you very much !

Sonoma