Create a gist now

Instantly share code, notes, and snippets.

Embed
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
@leocrespo

This comment has been minimized.

Show comment
Hide comment
@leocrespo

leocrespo commented Feb 13, 2016

Thank you

@ilovejs

This comment has been minimized.

Show comment
Hide comment
@ilovejs

ilovejs Jul 12, 2016

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

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