is it possible to pin a specific window

Hello, I would like with one shortcut to pin 3 specific shortcut by window name. I am already familiar with the regular way of pinning the focused window

thanks

I would try the “activate specific window” action. Then pin. Then the next window...
Pauses between the actions are probably necessary.

1 Like

how would you revert back to the originall focused window

There should be two actions called save/restore window, or similar. I'm not on my Mac right now.

I think it's a good idea to allow targeting specific windows. I have added this in 5.725 alpha.

1 Like

Have you added a new action? What is it called?

I added some new options to the existing action:

1 Like

Yes, found it. But how is that supposed to work?

Should the setup below activate the Downloads window (even if several windows are open) and then pin it? It doesn't do that.

Yes that's how it should work.

Weird, I tried your Finder / Downloads example but it is working fine here.

So, if another Finder window is in front, then the correct one is activated and pinned?

For me, the front window is pinned, whatever it's called.

Currently the front window is used if the specified one can not be found.

You are sure you have a Finder window with title "Downloads" open? Does the "Activate Specific Window" action work for you to activate the window? (It uses the same logic, but doesn't fall back to the focused window)

The “Activate Specific Window” action does not work either. However, the shortcut is triggered, as shown under “Recently Used.”:thinking:

Is the window maybe minimized?

It might be some subtle difference in the window data structures BTT accesses across macOS versions, which version are you currently running on again? :slight_smile: Still 13.x?

The window is not minimized, and yes, I am a little behind with the versions. :innocent:

image

But I promise to update to this version.:slightly_smiling_face:

I found one issue that might lead to windows not being found if more than 10 windows are visible. I'm not sure whether that's the issue in your case but it will be resolved in 5.727.

That could be it; I always have more than 10 windows open.

I'll check as soon as ..27 is online.

Hmm, version 5.727 doesn't pin anything anymore, not even the front window.

Sorry, not true. It's pinning. But the window cannot be found.

The strange thing is that the action below finds every window. I've set up many of them, and they all work perfectly. Does this use a different logic?

Weird, that uses the same logic - apart from the window hiding stuff. I only asked whether the window is minimized, but is the window maybe hidden?

No, not minimized and not hidden.

And the other action finds every window, whether it is minimized or hidden, or neither.

Hm, how can that be, if it's the same logic? :joy:

The searching logic is the same but the rest of the actions is very different :wink: So probably something outside of the window search doesn't work well on macOS 13. I'll check in my VM!