Dunno if already answered this one yet, but the following 2 lines of script: let sDesc = "window type of GetFocus: " + GetWindowType (GetFocus()) Say (sDesc, OT_MESSAGE, false) Still just repeatedly says unknown window type. Stay well Jacob Kruger jacob.kruger@xxxxxxxxxxxx -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Dennis Brown Sent: Thursday, August 27, 2009 10:57 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Re: WPF object getting focus One way to test it is when you use FocusChangedEventEx, announce the window handle when tabbing through the controls. Use GetFocus() to get handle, then announce that puppy. Thanks, Dennis Brown ----- Original Message ----- From: "Jacob Kruger" <Jacob.Kruger@xxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Thursday, August 27, 2009 8:47 AM Subject: [jawsscripts] WPF object getting focus > Ok, now if I try using this function: > GetTypeAndTextStringsForWindow() > > No matter if I pass it my newly focused object, hNew, or use the > GetFocus() function, it tells me the whole window's info. > > Either this means I'm misunderstanding the use of this function, or else, > it means that from within WPF, the actual controls never really get > focused on as such. > > Thoughts? > > Stay well > > Jacob Kruger > jacob.kruger@xxxxxxxxxxxx > > > __________ > Visit and contribute to The JAWS Script Repository http://jawsscripts.com > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at http://www.freelists.org/list/jawsscripts No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.71/2336 - Release Date: 08/30/09 17:51:00 __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at http://www.freelists.org/list/jawsscripts