Re: About the accessibility stuff...
Re: About the accessibility stuff...
- Subject: Re: About the accessibility stuff...
- From: email@hidden
- Date: Mon, 10 Jun 2002 22:28:03 +0200
On lundi, juin 10, 2002, at 08:57 , Matthew Formica wrote:
AppleScript lets you control the model of an application. The upcoming
accessibility API will let you control the UI of an application.
"Click on
Button 1" and such is exactly the sort of thing that the accessibility
API
will provide. And for the 99% case, no code will have to be added to
Cocoa
apps for them to be automatically accessible; and Carbon apps should
get a
lot of behavior for free as well. But given all this, it doesn't mean
that
this API is necessarily always the best thing to use for automation -
if you
just want behavior to be executed, AppleScript is probably the way to go
because you can bypass the GUI - instead of telling the app "switch to
this
tab, click this button, in the window that opens, type this text and hit
return," you can just say "do this behavior."
In fact, I'm looking more for automatic test (mainly GUI test) than
executing a behavior.
So your answer makes me quite happy.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.