Re: OSX script problem
Re: OSX script problem
- Subject: Re: OSX script problem
- From: Rob Stott <email@hidden>
- Date: Thu, 9 Dec 2004 18:11:38 +0000
On 9 Dec 2004, at 3:54 pm, Monica Gorman wrote:
We are converting a few scripts from os9 and Quark 5 to osx and Quark 6.
The scripts worked fine in os9. We have most of the minor changes done
to get it to work in osx. Our problem is that the page width and page
height seem to be being ignored.
Very odd. To start with, I had the same problem as you. Then all of a sudden, for no obvious reason, it started working;
tell application "QuarkXPress"
make new document at beginning
tell front document
set page height to "100 mm"
set page width to "100 mm"
end tell
end tell
...pretty dumb that the dimensions of the page are strings. Never liked scripting Quark! ;-)
Hope that helps
r.
---
Rob Stott – Development Team, Trident UK
Work: +44 (0) 1482 887212 • Mobile: +44 (0) 7881 811533 • Home: +44 (0) 1482 671129
My Schedule: http://ical.mac.com/robstott/Robs32Dev32Schedule
I Work For: http://www.apple.com/uk/creative/trident/
My Band: http://www.superscapemusic.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden