• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Security Movie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Security Movie


  • Subject: Re: Security Movie
  • From: Peter Baxter <email@hidden>
  • Date: Sun, 12 Nov 2006 11:39:39 +1100

hi Nigel,

I'll try that, but the preferences in Quicktime can set the location of the file so that you don't have to specify the location. That's why I just had the file name. perhaps having the full address will solve the problem.

Peter


On 12/11/2006, at 3:36 AM, Nigel Garvey wrote:

Peter Baxter wrote on Sat, 11 Nov 2006 10:54:37 +1100:

If I use the
following script, it refuses to save it to the file set, but only on
some of the computers.  My G5 Duo works perfectly at home.  What is
the problem?



tell application "Finder"
	set myfile to "Security.mov"
end tell

tell application "QuickTime Player"
	--activate
	new movie recording
	start first recording
	delay (1200)
	stop first recording
	stop every movie
	close movie 1 saving in myfile
end tell

It works for me with QuickTime Player 7.1.3, but not with the earlier
version on my other computer. The obvious problem in that case is that
your full specification for 'myfile' is just "Security.mov", without any
mention of the path or the fact that it's a file.


On the machine where it does work, the file appears at the root of the
startup disk. Assuming that's what you want, you could try coding your
script like this:

set myfile to (path to startup disk as Unicode text) & "Security.mov"

  tell application "QuickTime Player"
    activate
    new movie recording
    start first recording
    delay (1200)
    stop first recording
    stop every movie
    close movie 1 saving in file myfile
  end tell

I don't know if this will work on _your_ other machines, but it's more
likely to.

NG

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
Archives: http://lists.apple.com/mailman//archives/applescript-users


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Security Movie (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: Security Movie
  • Next by Date: Re: Security Movie
  • Previous by thread: Re: Security Movie
  • Next by thread: FileMaker 8 "create new record" again....
  • Index(es):
    • Date
    • Thread