Skip to content
yamionp edited this page Mar 29, 2012 · 3 revisions

Welcome to the pyramid_tutorial wiki!

test testtesttesttttttt

SPLIT_W=4
SPLIT_H=3

for i in range(SPLIT_W):
    print 'tell i term application "System Events" to keystroke "d" using command down'
    print 'write text "%d"' % (i)

for i in range(SPLIT_W):
    for j in range(SPLIT_H):
        print 'tell i term application "System Events" to keystroke "D" using command down'
        print 'write text "%d:%d"' % (i,j)

    print 'tell i term application "System Events" to keystroke "]" using command down'
    print 'write text "%d"' % (j)

Clone this wiki locally