• 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 page width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark page width


  • Subject: Re: Quark page width
  • From: JJ <email@hidden>
  • Date: Fri, 08 Jun 2001 16:36:05 +0200

>tell application "QuarkXPress 3.32r5"
> tell document 1
> copy page width to x
> set paper width of print setup to (x * 2) -- even if I try to
>coerce x to a number or string I always get an error
> end tell
>end tell
>
>How can I double this value??
>

When you get page width, you're getting a string. That's the reason why you
can't double its value.

tell application "QuarkXPress"
tell document 1
set x to page width as real
set x2 to x * 2
set the_paper_width to (x2 as string) & " mm"
set paper width of print setup to the_paper_width
end tell
end tell

JJ


  • Prev by Date: Re: A reference to
  • Next by Date: Re: "create icon" command in GraphicConverter
  • Previous by thread: Quark page width
  • Next by thread: Quark ps-file
  • Index(es):
    • Date
    • Thread