• 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
Requesting assistance with Quark.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Requesting assistance with Quark.


  • Subject: Requesting assistance with Quark.
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 23 Jul 2015 20:34:14 +1000

G’day Scripters.

I don’t think what I’m about to ask about is possible, but I’ve first posted on MacScripters, and the Quark Applescript forum, with no answers, so I’m turning to you learned folk.

I’m at present placing two text boxes at the top of a Quark 11 document, and reducing the top margin to it’s minimum of zero inches. I then have  to set the PPD of the Device section of the Print Dialog to my actual printer so the text boxes print within the adjusted margins.

However, in order to ensure I don’t overlap any possible text or images, I’d like to add 1 inch to the top of the document, and place the  text boxes within that added inch.
 
Trying to get the page height gives a figure such as 11” (eleven with an inch sign), which cannot be coerced to text or an integer.

Setting the page height to 12 sets it to 12 inches, but adds the extra at the bottom. Also however, the actual original page size could be any size at all.

Any advice as to whether this is possible, or advice that it’s impossible, please?

Regards

Santa

tell application "QuarkXPress"
activate
repeat until exists document frontmost
delay 0.1
end repeat
tell document frontmost
set page height to 12 # Was 11". Adds to bottom of page
set top margin to 0.0
end tell
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Requesting assistance with Quark.
      • From: "email@hidden" <email@hidden>
    • Re: Requesting assistance with Quark.
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: NSFileManager's odd behavior
  • Next by Date: Re: NSFileManager's odd behavior
  • Previous by thread: Re: Distributing Automator actions via MacAppstore - Sandboxing, installation etc.
  • Next by thread: Re: Requesting assistance with Quark.
  • Index(es):
    • Date
    • Thread