• 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
QuarkXPress 6.1 sizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuarkXPress 6.1 sizing


  • Subject: QuarkXPress 6.1 sizing
  • From: Steve Roy <email@hidden>
  • Date: Thu, 19 Feb 2004 14:47:46 -0500

Hi,

I'm getting some weird results when trying to set the size of a QuarkXPress 6.1
ad from AppleScript.

tell application "QuarkXPress"
set theVal to 72
set page width of document 1 to (coerce theVal to point units)
set page depth of document 1 to (coerce theVal to point units)
end tell

Sometimes it works, sometimes it doesn't. There seems to be a minimum value that
can be passed. That's fine, but the value of this minimum is not always the
same, and what QuarkXPress does in reaction to me passing a value smaller than
the minimum is also not consistent.

Here are some numbers I gathered through experimentation.

Brand new documents
- Minimum possible width: 8 pts (smaller values result in 288 pts width)
- Minimum possible height: 8 pts (smaller values result in 288 pts height)
(All new documents are consistent in these minimum values, that's good.)

Existing document converted from QuarkXPress 5.0
- Minimum possible width: 73 pts (smaller values result in nothing happening)
- Minimum possible height: 36 pts (smaller values result in nothing happening)

Tried the same document later:
- Minimum possible width: 201 pts (smaller values result in nothing happening)
- Minimum possible height: 8 pts (smaller values result in 288 pts height)
(Why has it changed from the previous time? I don't know.)

Another existing document converted from QuarkXPress 5.0
- Minimum possible width: 201 pts (smaller values result in nothing happening)
- Minimum possible height: 8 pts (smaller values result in 288 pts height)
(At least, this is consistent with the previous document. Is there something to
be deduced from that? I don't know.)

New document from a QuarkXPress 5.0 template and converted
- Minimum possible width: 251 pts (smaller values result in nothing happening)
- Minimum possible height: 8 pts (smaller values result in 288 pts height)

Another new document from a QuarkXPress 5.0 template and converted
- Minimum possible width: 251 pts (smaller values result in nothing happening)
- Minimum possible height: 8 pts (smaller values result in 288 pts height)
(From this, it looks like all new documents from template should be consistent.
Why is it different than existing documents? I don't know.)

Is anyone else seeing this problem? Or is anyone able to find some logic in it?

Steve
--
Steve Roy <email@hidden>
Personal homepage: <http://homepage.mac.com/sroy>
Projects homepage: <http://www.roydesign.net>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: RegEx question
  • Next by Date: Re: Panther bug: 'missing value' for modification date??
  • Previous by thread: Panther bug: Perl 'tr/\\0-\\xFF//CU' no longer works!?
  • Next by thread: [ANN] MathLink for AppleScript released
  • Index(es):
    • Date
    • Thread