Frank1
February 14, 2025, 2:10pm
1
@Andreas_Hegenberg From the series, what you always wanted to know but never asked.
What exactly does this action do?
In certain (window) constellations with certain apps, it does exactly what I need it to do. In others it does ... I don't know ... something.
it basically presses the green window button
What happens afterwards is up to the app
Apple does call it „zoom“
Frank1
February 14, 2025, 3:25pm
3
Is that the case for you? Not for me. When I press the green button, something else happens.
The interaction of these two actions usually does the following.
A window is maximized, the same window goes back to the old size and position. But unfortunately not always.
mh yes, I have never seen it behave differently than pressing the green zoom button. An app would need to actively override that function for accessibility apps to cause a different behavior.
But maybe for your usecase the "restore old window size" will work better?
//edit: ah with green window button I mean the button with the +, not the full screen button. Nowadays this is combined into one and in some apps only holding option will give you the one with the +
Frank1
February 14, 2025, 3:41pm
5
Ah, now I understand.
I will also try the “restore old window size” action. But how can BTT restore something if it was not saved before?
Two BTT actions that could be used in this way would be ideal for me.
Before maximizing (or something else) BTT saves the current window and can then restore it. Just like the mouse save/restore.
the maximize action automatically saves the "before state"
Frank1
February 14, 2025, 3:45pm
7
Good, and all other window actions/positions?
all of the standard predefined window resizing actions do that, custom resizing however not
Frank1
February 14, 2025, 3:49pm
9
I see, may I ask you to consider this again? Thanks
@Andreas_Hegenberg I would find two actions useful analogous to “save current mouse position” and “ restore saved mouse position”
But for windows. So, I save size and position of a window, change both, and then return to the same size and position of the window.
Is this perhaps already possible somehow?
Yes that's on my todo list. For now you could try these two named triggers:
save_restore_window.bttpreset (5.1 KB)
Frank1
February 14, 2025, 6:24pm
11
This works beautifully. Thank you, Andreas.