• 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
ReRe: Bounds_of_Document_QXP10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ReRe: Bounds_of_Document_QXP10


  • Subject: ReRe: Bounds_of_Document_QXP10
  • From: dw <email@hidden>
  • Date: Fri, 21 Mar 2014 09:05:51 +0100

Thanks for your Tipp with " System Events", but does not work, too.


But this works fine:

tell application "System Events"
    tell process "QuarkXPress"
        activate -- important!
        set position of window 1 to {0, 0}
        set size of window 1 to {0, 0} -- set window 1 to Minimum
    end tell
end tell



---------------------------------------
Am 20.03.14 23:37, schrieb John Baltutis:
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


--



----------------------------------------------------------------------
Dieter Wahner
DTP-Produktion
Heise Zeitschriften Verlag GmbH & Co. KG
Karl-Wiechert-Allee 10, 30625 Hannover

Tel.: +49 [0] 511 5352-410
Fax: +49 [0] 511 5352-174
E-Mail:
email@hidden
----------------------------------------------------------------------
Heise Zeitschriften Verlag GmbH & Co. KG
Registergericht: Amtsgericht Hannover HRA 26709

Persönlich haftende Gesellschafterin:
Heise Zeitschriften Verlag Geschäftsführung GmbH
Registergericht: Amtsgericht Hannover, HRB 60405
Geschäftsführer: Ansgar Heise, Dr. Alfons Schräder

 _______________________________________________
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

References: 
 >Re: Bounds_of_Document_QXP10 (From: John Baltutis <email@hidden>)

  • Prev by Date: Re: Scope riddle I can't seem to solve. (Probably very easy to solve for an experienced coder)
  • Next by Date: Printing Problems with QXP10
  • Previous by thread: Re: Bounds_of_Document_QXP10
  • Next by thread: Printing Problems with QXP10
  • Index(es):
    • Date
    • Thread