-- Issue Send Later command tell application "System Events" keystroke "d" using {shift down, control down} delay 1 end tell -- Press Tab key four times repeat 4 times tell application "System Events" key code 48 -- Tab key code end tell end repeat -- Press Up Arrow key twice repeat 2 times tell application "System Events" key code 126 -- Up Arrow key code end tell end repeat -- Press Tab key three times repeat 3 times tell application "System Events" key code 48 -- Tab key code end tell end repeat -- Press Space bar tell application "System Events" key code 49 -- Space bar key code end tell