Re: Detecting window title changes and kAXTitleChangeNotification
Re: Detecting window title changes and kAXTitleChangeNotification
- Subject: Re: Detecting window title changes and kAXTitleChangeNotification
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 27 Jul 2010 18:20:38 -0400
On Jul 27, 2010, at 5:44 PM, Paul Godavari wrote: I have been able to detect window create, move and destroy operations, but not title change notifications. I've been trying to detect title changes by registering an AXObserver callback on the AXUIElementRef representing the window using the kAXTitleChangeNotification, but no notifications ever arrive for the observed windows.
That's the right way to do it, and it works for me. I run my UI Browser application and use its Notifications drawer to register a title changed notification on an Untitled TextEdit window. Then I save the TextEdit document to a name, and as soon as it's saved, the UI Browser Notifications Log window shows the title changed notification. <http://pfiddlesoft.com/uibrowser/> |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden