Quark 6.5 save a file with replacing
Quark 6.5 save a file with replacing
- Subject: Quark 6.5 save a file with replacing
- From: Jeff Gillam <email@hidden>
- Date: Thu, 08 Feb 2007 14:39:48 -0500
- Thread-topic: Quark 6.5 save a file with replacing
I've been trying to compose a simple script that will overwrite an existing
file Quark file with a template file of the same name, same path etc.
however I keep encountering an 'error type 69' when executing the following:
tell application "QuarkXPress"
set thepath to (file path of document 1 as text)
save document 1 in thepath with template
end tell
I suspect it is due to the file having the same name a the original, I'd
like to add "with replacing" in there somewhere, but the compiler won't have
it. Quark 6.5 - OS X 10.4.8
Any ideas?
<br><br><br>
-------------------------------------------------<br><br>
Privileged and confidential information may be contained in this e-mail and any files transmitted with it are intended only for the use of the addressee. If you are not the addressee, or not the person responsible for delivering it to the person addressed, you may not copy or deliver this to anyone else. If you receive this e-mail by mistake, please notify us immediately by telephone or e-mail and delete it from your system immediately. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted with this email. Thank you.
_______________________________________________
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