Skip to content

Instantly share code, notes, and snippets.

@radex
Created April 2, 2013 14:17
Show Gist options
  • Save radex/5292544 to your computer and use it in GitHub Desktop.
Save radex/5292544 to your computer and use it in GitHub Desktop.
tell application "Xcode"
activate
end tell
tell application "System Events"
tell application process "Xcode"
click menu item "Stop" of menu 1 of menu bar item "Product" of menu bar 1
click menu item "Run" of menu 1 of menu bar item "Product" of menu bar 1
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment