Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

Thank you

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