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

Quark page width


  • Subject: Quark page width
  • From: Alberto Salvagnini <email@hidden>
  • Date: Thu, 07 Jun 2001 17:19:30 +0100

Hi :)

I am trying to change the paper width in printer setup - QuarkXPress
3.32r5 - in order to write a pdf-file

If I change like this:

tell application "QuarkXPress 3.32r5"
tell document 1
copy page width to x
set paper width of print setup to x
end tell
end tell

is everything fine.

But if I have facing pages I just want to get the page width, double it
and set paper width to the result. I always got an error.

If I say

tell application "QuarkXPress 3.32r5"
tell document 1
set page width to "230"
end tell
end tell

it works,
the value I get from is: "230 mm"
but I cannot change this value like this:

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??

Thanks for help
Alberto :)

[demime 0.98b removed an attachment of type text/x-vcard which had a name of asalvagnini.vcf]


  • Prev by Date: TCP/IP configuration + launching an app via its type/creator
  • Next by Date: Re: [ANN]AppleMods on Citizen Strange
  • Previous by thread: Re: TCP/IP configuration + launching an app via its type/creator
  • Next by thread: Re: Quark page width
  • Index(es):
    • Date
    • Thread