• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quark Paper Size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark Paper Size


  • Subject: Re: Quark Paper Size
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 18 Jul 2001 21:52:08 +1000

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


  • Follow-Ups:
    • Re: Quark Paper Size
      • From: Alberto Salvagnini <email@hidden>
References: 
 >Quark Paper Size (From: Alberto Salvagnini <email@hidden>)

  • Prev by Date: Quark text boxes
  • Next by Date: Re: Filemaker show records
  • Previous by thread: Quark Paper Size
  • Next by thread: Re: Quark Paper Size
  • Index(es):
    • Date
    • Thread