Skip to content

Instantly share code, notes, and snippets.

@soh335
Created March 14, 2010 16:08
Show Gist options
  • Save soh335/332053 to your computer and use it in GitHub Desktop.
Save soh335/332053 to your computer and use it in GitHub Desktop.
tell application "Processing"
activate
end tell
tell application "System Events"
if UI elements enabled then
key down command
keystroke "r"
key up command
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment