Created
February 15, 2017 20:09
-
-
Save rick4470/e9a219f7a5d317ebd216c1166a48fb91 to your computer and use it in GitHub Desktop.
DSLR camera script
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
say "Turning camera on" | |
-- Audio Hijack | |
tell application "Audio Hijack" to activate | |
tell application "System Events" | |
perform action "AXRaise" of window 1 of process "Audio Hijack" | |
end tell | |
tell application "System Events" to tell process "audio Hijack" to keystroke "m" using command down | |
-- Camera Live | |
tell application "Camera Live" to activate | |
tell application "System Events" | |
perform action "AXRaise" of window 1 of process "Camera Live" | |
end tell | |
tell application "System Events" to tell process "Camera Live" to keystroke "m" using command down | |
-- Cam Twist | |
tell application "CamTwist" to activate | |
say "Camera is now on" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment