1

I'm well aware of Moom, BetterTouchTool, BetterSnapTool, Divvy, and Spectacle, and have thoroughly read this question's answers.

I don't think any of the above can:

with one keyboard stroke, tile the current window and the previously-focused window side-by-side.

Moom allows application-specific configurations; all the others allow manipulating only the current-focused window.

This is something I find that I'm doing over and over again, for example: switching from a PDF to my browser to type some info from the PDF into my browser; I'd like to quickly show them side-by-side so that it's easy to copy over, say, an address.

1

It can be done via AppleScript.

I might be able to fudge some kind of script for you in a day or so, but take a look at:

http://tom.scogland.com/blog/2013/06/08/mac-raise-window-by-title/
(mostly for how to make the script non-specific to an an application) and https://macosxautomation.com/applescript/firsttutorial/04.html
(for relative window indexes).

I don't unfortunately know the scripting terminology for placing windows side-by-side, so either someone else can take a crack at it, or I will in a couple days.

  • Looks like there are some good leads here, cheers. The second link seems to be able to manipulate the second-layer window, although I'm not clear if it can do 'previously-focused window' (regardless of what layer it happens to be on) per se. Then again, come to think of it, those things are equivalent in most important cases perhaps. – ijoseph Jun 7 at 21:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .