Skip to content

Instantly share code, notes, and snippets.

@xuru
Created March 21, 2013 21:02
Show Gist options
  • Save xuru/5216703 to your computer and use it in GitHub Desktop.
Save xuru/5216703 to your computer and use it in GitHub Desktop.
Reset the simulator
tell application "iPhone Simulator"
activate
end tell
tell application "System Events"
tell process "iPhone Simulator"
tell menu bar 1
tell menu 2
click menu item 5
end tell
end tell
tell window 1
click button 2
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment