Re: Applescript (Quicktime) "with replacing" bug
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