Re: Quark page width
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