Skip to content

Instantly share code, notes, and snippets.

@johnholbrook
Created August 9, 2013 23:26
Show Gist options
  • Select an option

  • Save johnholbrook/6198161 to your computer and use it in GitHub Desktop.

Select an option

Save johnholbrook/6198161 to your computer and use it in GitHub Desktop.
repeat 5 times
beep
delay 1
end repeat
set ecount to 1
repeat 20 times
tell application "System Events"
repeat ecount times
keystroke "e"
end repeat
keystroke "y"
keystroke return
end tell
set ecount to ecount + 1
end repeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment