Re: Enabling previews in Quark 4.03
Re: Enabling previews in Quark 4.03
- Subject: Re: Enabling previews in Quark 4.03
- From: Hans Haesler <email@hidden>
- Date: Mon, 7 Apr 2003 13:14:02 +0200
On Mon, 07 Apr 2003, Steen Villumsen wrote:
>
I need Quark XPress 4.03 to open a document, do a "Save as...", check the
>
'include preview' option, and replace the original document.
Hey Steen!
if you're serious about scripting QuarkXPress then you should try
to get an update to version 4.04.
I don't have version 4.03 handy, but the following works with 4.04:
---
tell application "QuarkXPress 4.04"
tell document 1
set view scale to fit page
end tell
save document 1 with include preview
close document 1
end tell
---
The command 'set view scale to fit page' serves to set the 'saved'
property to 'false'. Else you must get the file path and make a save as:
---
tell application "QuarkXPress 4.04"
set docPath to file path of document 1
save document 1 in docPath with include preview
close document 1
end tell
---
Both snippets work with the open front document. You say that you've got
a lot of documents to convert. So it would MUCH more convenient to save
the script as a droplet. Then you can drop a bunch of documents on the
icon of the script which will open and save them.
I'll make a droplet of the second version and send it with a private
message, explaining a thing or two about saving a script as a droplet.
---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.