• 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: Center Quark 7 spread in window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Center Quark 7 spread in window


  • Subject: Re: Center Quark 7 spread in window
  • From: DITISJULIUS <email@hidden>
  • Date: Thu, 13 Oct 2011 21:02:24 +0200

Hi Oakley,

To set the bounds of your window in Quark, try following:


tell application "Finder"
--  GET MONITORBOUNDS
set monitorBounds to bounds of window of desktop

-- SET PREFFERED WINDOWBOUNDS FOR QUARK

set Mybounds to {25, 0, ((item 3 of monitorBounds) - 700), ((item 4 of monitorBounds) + 700)} -- {upper, left, bottom, right/wide of window) 
      -- NOW TELL QUARK TO ADJUST WINDOWBOUNDS

tell application "QuarkXPress Passport"
activate
if not (exists (document 1)) then return (display dialog "No document is open." buttons {"Cancel"} default button 1)
set bounds of document 1 to Mybounds
end tell
end tell


 I hope this is usefull. Greetings, 

Pascal

 _______________________________________________
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

  • Prev by Date: Re: Mail Rule Finder
  • Next by Date: Re: INDESIGN: Coercing a String to a Constant
  • Previous by thread: Re: Center Quark 7 spread in window
  • Next by thread: Inoperative Dialog
  • Index(es):
    • Date
    • Thread