Hey Sean,
Keymando has the api to do full window management also (move windows to different quadrants of the screen, cycle between monitors, nudge the windows etc, along with a host of other app manipulation items).
Once I have 2 applications open I will just usually do the following:
1. Run the Focus Application Command and pick the App I want to focus
2. Run the Move Window To Left Command (after this I will Run The Last Command, to cycle it to the monitor I want it to be on).
3. Run the Focus Application Command and pick the second App
4. Run the Move Window To Right Command (again Running the Last Command, to cycle it to the monitor where the other app is).
Yes you can write a script that does all of this. Personally, I prefer to keep my mappings shallow and leverage the command system so I can just bring up the Run Registered Command window and do all of that stuff.
map "<Cmd-d>", Commands.current_app_windows #pops up a selection box where I can trigger a specific window for the currently focused app
map "<Cmd-f>", Commands.trigger_app #this pops up a selection box where you can choose which app you want to focus, I use this rather than osx's app switcher, as it gives me the type ahead, and I can go straight to the app I want (useful when you have lots of apps running)
map "<Cmd- >", Commands.run_registered_command #the most important mapping I have, this pops up a dialog box where I can typeahead and choose to run any of the predefined or my own custom commands
map "<Cmd-o>", Commands.run_last_command #repeat the last command that was run (useful when I am doing things like moving windows, increasing/decreasing voluming, or nudging windows by increments)
map "<Cmd-r>", Commands.right_click #not much to say about that one!
map "<Cmd-i>", Commands.run_history_item #pick from a list of commands I have run recently and rerun it
map "<Cmd-p>", Commands.press_button_on_ui #highlight elements on the ui and have the element pressed
except /(iTerm|MacVim)/ do
map ";lc", Commands.left_click_element #highlight elements on the ui (hit-a-hint style), type in the characters for an element and have it left-click the element
map ";rc", Commands.right_click_element #highlight elements on the ui (hit-a-hint style), type in the characters for an element and have it right-click the element
map ";dc", Commands.double_click_element #highlight elements on the ui (hit-a-hint style), type in the characters for an element and have it double-click the element
map ";mi", Commands.show_current_app_menu_items #show the current app menu items, type ahead and choose the one you want to click on
end
Anyway, as you are already aware. We have still not documented a lot of this stuff, but hopefully, if you take a look at the scripts it will give you some ideas that you may be able to accomplish without gratuitous mapping.
God Bless You,
JP