• 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
Xcode UI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode UI Scripting


  • Subject: Xcode UI Scripting
  • From: "V. Thane Norton III" <email@hidden>
  • Date: Fri, 4 May 2007 10:32:15 -0700

I am trying to write an Apple Script that reasonably resizes Xcode windows. Unfortunately there is a known defect with Xcode's response to resize events. For example, in Xcode 2.4.1 have the console window foremost and run the following script:

tell application "System Events"
  tell process "Xcode"
    set bob to size of window 1
    set size of window 1 to {item 1 of bob, (item 2 of bob) + 1}
  end tell
end tell

You will note that the text area of the console is now 358 pixels tall. I have a feeling that this is the height of the view in the resources, but the Xcode nib files seem to be inscrutable. Regardless, is there any way to get Xcode to realize that that view needs resized, apart from dragging the grow area? Alternately, is there any way to use the Usability Interface to move the grow area?

-----------------------------------------
V. Thane Norton III
Macintosh Software Engineer
Wacom Technology Corporation
phone: 360.896.9833 x172
mailto:email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Xcode UI Scripting
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: IB 3 issues
  • Next by Date: Re: Xcode UI Scripting
  • Previous by thread: Re: IB 3 issues
  • Next by thread: Re: Xcode UI Scripting
  • Index(es):
    • Date
    • Thread