Last active
February 10, 2016 06:16
-
-
Save brock/b25954695f0979079dca to your computer and use it in GitHub Desktop.
4 x 4 iTerm Grid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# panes | |
# make a 4x4 grid of iTerm panes | |
/usr/bin/env osascript <<-EOF | |
tell application "iTerm" | |
activate | |
set myterm to (make new terminal) | |
tell myterm | |
launch session "Panes" | |
tell i term application "System Events" to keystroke "d" using command down | |
tell i term application "System Events" to keystroke "D" using command down | |
tell i term application "System Events" to keystroke "[" using command down | |
tell i term application "System Events" to keystroke "[" using command down | |
tell i term application "System Events" to keystroke "D" using command down | |
end tell | |
end tell | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i think you mean 2x2