Re: Center Quark 7 spread in window
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