MACSCRPT Archives

March 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Christoph Draxler <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sun, 12 Mar 2006 08:13:08 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
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? 

ATOM RSS1 RSS2