Re: Enabling previews in Quark 4.03
Re: Enabling previews in Quark 4.03
- Subject: Re: Enabling previews in Quark 4.03
- From: Steen Villumsen <email@hidden>
- Date: Mon, 07 Apr 2003 20:54:36 +0200
Hello Hans,
wow, what an answer - I've had some help from this group before, but you
take the price! :-)
Unfortunately my sysadm sais I can't upgrade to 4.04, but the scripts and
droplet seems to work fine on 4.04 anyway.
Thank you very much for your help.
Kind regards,
Steen Villumsen
On 07/04/03 13:14, "Hans Haesler" <email@hidden> wrote:
>
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.
_______________________________________________
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.