Skip to content

Instantly share code, notes, and snippets.

@ColtonPhillips
Forked from shedali/mac-quick-screenshare
Created October 6, 2017 03:44
Show Gist options
  • Save ColtonPhillips/f3e949b2f483d81c4fdaafcb4cdb0e1c to your computer and use it in GitHub Desktop.
Save ColtonPhillips/f3e949b2f483d81c4fdaafcb4cdb0e1c to your computer and use it in GitHub Desktop.
applescript to start screen recording using quicktime
tell application "QuickTime Player" to activate
tell application "System Events"
activate
--set UI elements enabled to true
tell process "QuickTime Player"
click menu item "New Screen Recording" of menu "File" of menu bar 1
end tell
end tell
tell application "QuickTime Player"
activate
tell application "System Events" to key code 49
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment