-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
- In v0.4/Rust, use the new window properties, like
window.minimized
, to minimize/close/fullscreen windows. - In v0.3, we should read/modify the window properties, rather than simulate button presses. For example
win.element.AXFullScreen
. We should also stop using a shortcut to get out of fullscreen mode.
Optionally, we can also use appscript for more of the mass-windowing commands. For example, this will minimize every window:
app('Finder').windows.collapsed.set(True)
But unlike closing every window (#55), this doesn't seem to be particularly faster in my testing. I think Talon itself generally prefers to use appscript when it's available, and then fallback to accessibility (for example, for changing window positions). But I'm not sure if there's any other advantages are disadvantages. cc @nriley for thoughts