• 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: UI Scriptibility of Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UI Scriptibility of Cocoa


  • Subject: Re: UI Scriptibility of Cocoa
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 27 Sep 2003 06:12:56 -0400

on 03-09-26 3:25 PM, Yang, Liu at email@hidden wrote:

> s it true that if you write a cocoa application, it automatically has
> scriptable UI? Meaning a script developer will be able to say something like
> "Tell Application X to click button "ok" "?

Yes, although the form of the script must be just a little more complex than
your example. It is also true if you write a Carbon application. GUI
Scripting is based on the Accessibility API, which is built into Cocoa and
Carbon widgets at a very low level.

In Jaguar, this requires downloading and installing some special software
from Apple. In Panther, it will be built-in. For details, the Jaguar
download, a free Apple utility, and a number of sample scripts, go to
<http://www.apple.com/applescript/GUI/>.

There is also some information and a commercial utility, PreFab UI Browser,
at <http://www.prefab.com/uibrowser>.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Folder Action keeps dying
  • Next by Date: Re: Folder Action keeps dying
  • Previous by thread: UI Scriptibility of Cocoa
  • Next by thread: BBEdit to Entourage
  • Index(es):
    • Date
    • Thread