Hi,
has anyone succeeded in recording video using the AppleScript "new
video recording" command?
My own attempt is:
tell application "QuickTime Player"
activate
set newMovie to (new movie recording "QuickTime Player")
start newMovie
delay 10
stop newMovie
end tell
It returns an error I don't understand:
tell application "QuickTime Player"
activate
new movie recording "QuickTime Player"
document "Untitled"
start movie "Untitled"
document "Untitled"
stop movie "Untitled"
"QuickTime Player got an error: NSReceiverEvaluationScriptError: 4"
Any suggestions?