Quark page width
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]