• 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: OSX script problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: OSX script problem
      • From: Hans Haesler <email@hidden>
References: 
 >OSX script problem (From: "Monica Gorman" <email@hidden>)

  • Prev by Date: Re: delete first 3 characters in a file name
  • Next by Date: Re: Subtract 1 month from date
  • Previous by thread: OSX script problem
  • Next by thread: Re: OSX script problem
  • Index(es):
    • Date
    • Thread