Skip to content

Instantly share code, notes, and snippets.

@chbeer
Created November 7, 2013 11:04
Show Gist options
  • Save chbeer/7352897 to your computer and use it in GitHub Desktop.
Save chbeer/7352897 to your computer and use it in GitHub Desktop.
AppleScript that sends keystrokes to SimCap.app to start recording of the iOS Simulator screen
-- Uses System Events' keystrokes to start a recording in SimCap.app
tell application "SimCap"
activate
delay 0.5
tell application "System Events"
tell process "SimCap"
keystroke "r" using {command down}
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment