Skip to content

Instantly share code, notes, and snippets.

@shedali
Created February 10, 2014 00:29
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save shedali/8908270 to your computer and use it in GitHub Desktop.
Save shedali/8908270 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
Copy link

ghost commented Feb 13, 2016

Thank you

@ilovejs
Copy link

ilovejs commented Jul 12, 2016

will applescript adapt to features like 'specific windows', 'specific area' ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment