AppleScript video capture

I am trying to write a script that listens for voice input and then does one of the following:
record video
take still shot
record voice

I have gotten the script to listen for voice commands and I can get it to do a function on command. However, I can not get any video =, voice or still recorded.

I thought that I would be able to do this with QuickTime Pro ( which I bought) and now I am struggleing with quicktime boradcaster. I have searched through the apple site and googled for all kinds of stuff but nothing is working.

If anyone has any thoughts on this plesae drop me a line.

Dave Waller
Monroe WI

I think it would be easiest to have three different scripts.

What version of Quicktime are you using? I have version 7, so it would look like this.

Record video:

tell application "QuickTime Player"
	activate
	new movie recording
	start
end tell

Record voice:

tell application "QuickTime Player"
	activate
	new audio recording
	start
end tell

As for the ‘still shot’ script. Are you wanting to take a still shot with a connected camera?

I have an iSight which I want to do all the image taking with.

The time lapse portion is really just grabing a frame every $X seconds.

Thanks for the reponse I will be putting it to work this morning.

I am using the QuickTIme 7 and I have the latest MacOSX on a Mac Mini.

Dave Waller
Monroe WI