Re: Kill other process's warning dialog
Re: Kill other process's warning dialog
- Subject: Re: Kill other process's warning dialog
- From: Guy English <email@hidden>
- Date: Mon, 13 Dec 2004 08:54:42 -0500
On Sat, 11 Dec 2004 11:22:55 +0800, Sherman He
<email@hidden> > Nice Guy English, can you give me
some more details of this acceibility API
> , i am a new Mac programer, example will be better.
Well only because you called me nice. That and if someone looks at the
archives at least this will turn up:
file:///Developer/ADC Reference Library/documentation/Accessibility/index.html
http://developer.apple.com/referencelibrary/GettingStarted/GS_Accessibility/
John Stiles made a good point in that different apps will put up
different dialogs so that even this isn't a fool proof method. The API
has the notion of "roles" so you can, assuming the app is written to
support accessibility, find the button with a "cancel" role.
That said, while it may be possible to do, please don't. I know I'd
never use such an app. The real question I suppose is why do you want
to do this? If you tell us *why* you want to rape the system maybe we
can offer a more userfriendly Mac-ish way to do what you're looking
for.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden