• 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: how to create and manage a UI of Interface builder with AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to create and manage a UI of Interface builder with AppleScript?


  • Subject: Re: how to create and manage a UI of Interface builder with AppleScript?
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 22 Aug 2012 11:49:44 -0400

Honestly, using certain parts of the IB can be pretty maddening if you want to do things in a different way than Apple wants you to do them.

If you already know how to handle how to do them in code, it will probably save a lot of frustration.

However, if you're really determined, there are two great tools to help you use GUI scripting and possibly get you a little further in your goal:

One is Apple's UIElementInspector (now called Accessibility Inspector).  The other is Bill Cheeseman's UI Browser.

The UIElementInspector opens a floating window that has text in it that shows all the accessible elements and their attributes in the app and window that the cursor is over.
the UI Browser lets you target an app and has similar readout but in a columnar hierarchical format.

I used both of these with AppleScript, Xcode 3.1.3 and the old Interface Builder to help when I wrote the GUI pipeline production system for Verizon's FiOS TV which automated creation of graphics and code going from Illustrator -> Photoshop -> TextEdit and produced output code templates in 10 different formats including one that reassembled them in Xcode 3.1.3.

Also, I needed some external applescript utilities that allowed mouse clicks and dragging.  Can't find those at the moment though, but I'll look for it if you want it.
If you can't find the Accessibility Inspector, I know it's in the Xcode 4.2 distro under Developer/Applications/Accessibility Tools.  If you need it and don't want a multi gig download of Xcode 4.2, I can send an old and new one (as of Xcode 4.2) your way.

UI Browser:
http://pfiddlesoft.com/uibrowser/

Accessibility Inspector:
http://developer.apple.com/library/mac/#documentation/Accessibility/Conceptual/AccessibilityMacOSX/OSXAXTesting/OSXAXTestingApps.html

Good luck.
 _______________________________________________
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

References: 
 >how to create and manage a UI of Interface builder with AppleScript? (From: Jonathan Chacón Barbero <email@hidden>)
 >Re: how to create and manage a UI of Interface builder with AppleScript? (From: Kevin Cathey <email@hidden>)

  • Prev by Date: Re: how to create and manage a UI of Interface builder with AppleScript?
  • Next by Date: Re: What are your tips for navigating the Xcode interface faster?
  • Previous by thread: Re: how to create and manage a UI of Interface builder with AppleScript?
  • Next by thread: 123
  • Index(es):
    • Date
    • Thread