Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save conscientiousness/2aaec91df4b5be00abecac1fbbd7d6c4 to your computer and use it in GitHub Desktop.
Save conscientiousness/2aaec91df4b5be00abecac1fbbd7d6c4 to your computer and use it in GitHub Desktop.
Using apple script to open Xcode and do something
tell application "Xcode"
activate
end tell
delay 1
tell application "System Events"
tell process "Xcode"
tell menu bar 1
tell menu bar item 10
tell menu 1
tell menu item 12
tell menu 1
click menu item 3
end tell
end tell
end tell
end tell
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment