Jump to content

Push the currently active app window to the left 50% of the screen


Recommended Posts

Just thinking through this a little… What window might be on top other than the active app when you want to resize 50% to the left? (I'm sure there are many possibilities but I'm trying to work out the possibilities!)

 

Stephen

Link to comment

Actually for some reason this doesn't work for the Web Browser Arc. When i have "Little Arc window"  as the currently active window my automation moves the main app window that is in the background and not the mini arc window that is in the foreground and selected.  Any ideas when it doesn't choose the currently selected window?

Link to comment

That’s probably not a standard window, and the code specifically only works with those because otherwise it could try to move things that you don’t want. For example, Safari’s Status Bar is a window as far as the system is concerned, but you’d never want to move that. Yet it’s not a standard window, so easy to ignore.

 

Arc makes several weird decisions. Its AppleScript support, for example, is incomplete and doesn't properly distinguish windows or index tabs.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...