phillco / talon-axkit

Talon macOS accessibility magic!
MIT License
45 stars 12 forks source link

Improve window_action API usages #57

Open phillco opened 1 year ago

phillco commented 1 year ago

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