I’m trying to have a script automatically select a FireWire camera as the source in QuickTime Player X. I can get the current camera and current microphone, but I can’t set them. Specifically, when I issue
tell application “QuickTime Player”
activate
new movie recording
set the name of the current camera of the front document to “DM-GL2”
end tell
I get this error
→ error number -10003 from name of <> to anything
I tried to just set the camera (not its name):
set current camera of document 1 to “DM-GL2”
but got this error:
→ error number -1700 from “DM-GL2” to <>
OS X 10.6.4, QuickTime Player 10.0, AppleScript 2.1.2
Thanks,
Bob