• 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: "Nigel Garvey" <email@hidden>
  • Date: Sat, 11 Nov 2006 16:36:33 +0000

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Security Movie
      • From: Peter Baxter <email@hidden>
  • Prev by Date: Re: Newbie search replace problem
  • Next by Date: Re: Security Movie
  • Previous by thread: Re: Security Movie
  • Next by thread: Re: Security Movie
  • Index(es):
    • Date
    • Thread