Re: Quark Paper Size
Re: Quark Paper Size
- Subject: Re: Quark Paper Size
- From: Alberto Salvagnini <email@hidden>
- Date: Wed, 18 Jul 2001 15:15:40 +0200
Thanks Shane but also your script is not working.
It is curios to see that I can change almost everything in the print settings
but not this...
How could be that the most repeating jobs (printing or also creating .ps) make
so many errors in QX?.
I really cannot believe it.
It should be a possibility to change the paper size in the print settings...
Shane Stanley schrieb:
>
On 18/7/01 9:24 PM +1000, Alberto Salvagnini, email@hidden, wrote:
>
>
> can someone tell me why this doesn't work?
>
>
>
> tell application "QuarkXPress 3.32r5"
>
> tell document 1
>
> set paper size to "A4"
>
> end tell
>
> end tell
>
>
>
> --> QuarkXPress 3.32r5 got an error: Can't set paper size of document 1
>
> to "A4".
>
>
>
>
>
> "A4" exists in the paper size list if I get the print setup and is also
>
> selected if I do this in the document
>
>
"paper size" is a property of print setup, so you would have to do something
>
like:
>
>
tell application "QuarkXPress 3.32r5"
>
tell document 1
>
tell print setup
>
set paper size to "A4"
>
end tell
>
end tell
>
end tell
>
>
But be warned that scripting of print setup in v3.32 is very buggy; I'd be
>
surprised if this worked unless you had at least opened the print dialog
>
"manually" at some stage first.
>
>
--
>
Shane Stanley, email@hidden
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
[demime 0.98b removed an attachment of type text/x-vcard which had a name of asalvagnini.vcf]