Skip to content

Instantly share code, notes, and snippets.

@Bunn

Bunn/xcode.scpt Secret

Created March 15, 2024 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bunn/5e1cf147edfd71ff4c63b38299de782f to your computer and use it in GitHub Desktop.
Save Bunn/5e1cf147edfd71ff4c63b38299de782f to your computer and use it in GitHub Desktop.
tell application "Xcode"
activate
end tell
tell application "System Events"
tell process "Xcode"
click menu item "Run" of menu "Product" of menu bar 1
delay 3
tell application "Xcode" to activate
-- Build and Run again
click menu item "Run" of menu "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