Last active
September 9, 2015 15:26
-
-
Save kjantzer/5457c6e74e4532ceafad to your computer and use it in GitHub Desktop.
Open QuickTime for New Screen Recording
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "QuickTime Player" | |
activate | |
new screen recording | |
tell application "System Events" to key code 49 | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osascript \ | |
-e 'tell application "QuickTime Player" to activate' \ | |
-e 'tell application "QuickTime Player" to new screen recording' \ | |
-e 'tell application "System Events" to key code 49' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment