Created
November 7, 2013 11:06
-
-
Save chbeer/7352922 to your computer and use it in GitHub Desktop.
AppleScript that sends keystrokes to SimCap.app to stop a running recording and to save the movie to temp.mov
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
-- Uses System Events' keystrokes to start a recording in SimCap.app | |
-- SimCap: http://www.jaml.co.uk/simcap/ | |
tell application "SimCap" | |
activate | |
tell application "System Events" | |
tell process "SimCap" | |
keystroke "r" using {command down} | |
delay 1.0 | |
keystroke "s" using {command down} | |
tell sheet 1 of window 1 | |
set value of text field 1 to "temp.mov" | |
tell button "Save" to click | |
end tell | |
keystroke "w" using {command down} | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment