Re: Bounds_of_Document_QXP10
Re: Bounds_of_Document_QXP10
- Subject: Re: Bounds_of_Document_QXP10
- From: John Baltutis <email@hidden>
- Date: Thu, 20 Mar 2014 15:37:59 -0700
On 3/20/14, dw <email@hidden> wrote:
>
> I have a problem with QuarkXPress 10.1.0.1, reducing the Main Window
> with AppleScript 2.3.1. (Mac OS 10.9.2).
>
> I have to to set the Main Window of QuarkXPress to a smaller one.
>
> tell application "QuarkXPress"
> activate
> set bounds of document 1 to {44, 44, 300, 1000} -- no Error: but
> does not work, does nothing
> set bounds of front document to {44, 44, 300,1000} -- no Error:
> but does not work, does nothing
> set properties of document 1 to {bounds:{22, 22, 492, 575}} -- no
> Error: but does not work, does nothing
> set properties of front document to {bounds:{22, 22, 492, 575}} --
> no Error: but does not work, does nothing
> end tell
>
> I did not found any solution. And its a problem of Quark 10, in earlier
> versions of Quark (8) it works. Any idea?
I don't have either, but try this, which works with TextEdit.
tellapplication "QuarkXPress" to activate
tellapplication "System Events"
set bounds of first window of application "QuarkXPress" to {44, 44, 300,
1000}
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