• 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: Paper Size in QX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paper Size in QX


  • Subject: Re: Paper Size in QX
  • From: email@hidden (Michael Sullivan)
  • Date: Wed, 30 Jan 2002 12:07:03 -0500
  • Organization: Society for the Incurably Pompous

Alberto Salvagnini <email@hidden>

> Hi all,
>
> Can someone tell me what is happening?
>
> tell application "QuarkXPress"
> get paper size of print setup of document 1
> end tell
> ->"A3"
>
> tell application "QuarkXPress"
> set paper size of print setup of document 1 to "A3"
> end tell
> error -10006 (apple event write denied)

Just another of the idiosyncrasies of scripting QuarkXpress.

For some reason, there must be a control character or something in the
paper size string, because your script gives me the same error -- until
I get the paper size of "A3" and paste that from the result window into
the script. It looks the same, but no longer errors. At first I
thought a conversion might be required, but according to the dictionary,
paper size takes a string.

See if that works for you, anyway.

FWIW, I gave up trying to script the Print Setup record in Xpress and
bought MadeToPrintXT <http://www.callas.de>. It's kind of expensive,
but if you have a high production workflow that depends on Xpress, it's
probably worth it.


Michael

--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT email@hidden


References: 
 >Paper Size in QX (From: Alberto Salvagnini <email@hidden>)

  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Read data from a file in Standard Additions" broken in AS Version >1.4
  • Previous by thread: Paper Size in QX
  • Next by thread: RE: Paper Size in QX
  • Index(es):
    • Date
    • Thread