Skip to content

Instantly share code, notes, and snippets.

@rick4470
Created February 15, 2017 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rick4470/e9a219f7a5d317ebd216c1166a48fb91 to your computer and use it in GitHub Desktop.
Save rick4470/e9a219f7a5d317ebd216c1166a48fb91 to your computer and use it in GitHub Desktop.
DSLR camera script
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