• 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: Applescript (Quicktime) "with replacing" bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript (Quicktime) "with replacing" bug


  • Subject: Re: Applescript (Quicktime) "with replacing" bug
  • From: "Nigel Garvey" <email@hidden>
  • Date: Wed, 19 Dec 2007 13:42:00 +0000

"Sean DiZazzo" wrote on Tue, 18 Dec 2007 20:28:48 -0800:

>Hi Group,
>Consider the following code...but DON'T EXECUTE IT!
>
>set dest to "/usr/local/etc" set dest to POSIX file dest tell application
>"QuickTime Player" tell document 1 export to file dest as QuickTime movie
>using most recent settings with replacing end tell end tell
>
>On my machine, it will overwrite the directory "/usr/local/etc" with a
>quicktime file name "etc", wiping out the entire contents of the directory.

That's exactly what you've told it to do.  :)  The 'to' parameter
specifies the file as which you want to export the movie, not the folder
in which you want the file to appear.


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/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Applescript (Quicktime) "with replacing" bug
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Dumb Finder scripting question
  • Next by Date: opening a file with the filename unknown
  • Previous by thread: Re: Applescript (Quicktime) "with replacing" bug
  • Next by thread: Re: Applescript (Quicktime) "with replacing" bug
  • Index(es):
    • Date
    • Thread