Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support zooming windows #71

Open
phillco opened this issue Sep 21, 2024 · 0 comments
Open

Support zooming windows #71

phillco opened this issue Sep 21, 2024 · 0 comments

Comments

@phillco
Copy link
Owner

phillco commented Sep 21, 2024

The "zoom" behavior (equivalent to double clicking on the titlebar) is still programmatically invokeable as an extra action on the fullscreen button [1]:

window.element.children.find_one(AXSubrole='AXFullScreenButton').perform("AXZoomWindow")

This would be handy to have, since in many applications it resizes the window to the content size, which is otherwise not easily doable with the snap commands.

[1] Props to this Hammerspoon issue for the source: Hammerspoon/hammerspoon#181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant