Feature request: Window manipulation

@Andreas_Hegenberg I would like to renew my wish to have these two predefined actions in BTT:

  • Save the position and size of the current/front window.

  • Restore the saved position and size for the window.

Thanks.

There are two actions that might work for this:

  • Save Focused Window Size And Position
  • Restore Saved Size And Position For Focused Window

Haha, when did you add that? Yes, that's exactly what I want. Thank you, I'm afraid I've lost track of things.:slightly_smiling_face:

Not too long ago :slight_smile:

I assume there is no way to control a window consisting of several “partial” windows (such as the BTT window) with these actions?

:sweat_smile:Now that's a new feature request.

Maybe something like "save position & size of all front windows belonging to focused application".
It's tricky because these windows are completely separate, there are usually no partial windows (although that concept has existed on earlier macOS versions, but is not really used anymore).

1 Like

Yes, exactly. You seem to already have the solution.:wink:

The windows aren't actually “completely separate.” At least the height is the same for all of them. So it would “only” be a matter of width.

In any case, that would be a great feature. For many people, it's a pain to manually restore such windows to their original state.

just in case I misunderstand, could you post a screenshot of such example windows?

Sure. An example with Devonthink.

Let's say this is the original state of the window. The middle pane shows the names of documents.

Because I can't see the names clearly, I enlarge this column. Like this.

If I had saved the original state of the window with BTT before widening the column, I could use a shortcut to make the column smaller again. Save … Restore :slight_smile:

I had hoped this is not what you meant :rofl:
Unfortunately these internal view states are basically impossible to restore. This is just one window, but with various views, internally managed by the application.

It is sometimes possible to save them, but restoring them would require a full restart of the app in question.

I see. Then maybe like this. With the image search, I can move the cursor to the arrow and hold down the left click to change the width (length of the distance to the right).

Now it would need an action that measured this distance and undid what was done.

Or something like that :joy: