FindTopLevelWindow() is for finding application windows. See if it works for you. I am not sure about application windows being on the same level... Just experimenting with navigating the window hierarchy with home row utility scripts I'd say the answr is a possible no. -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bue Vester-Andersen Sent: Friday, October 05, 2012 1:51 AM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] SV: Re: SV: Re: Getting information from an application that is not in focus Hi Travis, Ok, thank you for the tip. I thought that the top level window would be of the current application. However, it sounds like a technique where you have to make a lot of asumptions. Like you said, the top level window is not necesarily the desktop. Also, do we know for sure that all application windows are on the same level? If so, then I just need to find windows on the same level as the current application. Regards Bue -----Oprindelig meddelelse----- Fra: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] På vegne af Travis Roth Sendt: 4. oktober 2012 23:20 Til: jawsscripts@xxxxxxxxxxxxx Emne: [jawsscripts] Re: SV: Re: Getting information from an application that is not in focus Hello, You can still find this window. FindTopLevelWindow() should do what you want, if you have a window class or name. It is equivalent to using findWindow() with a window handle of 0. I have usually worked with the assumption that 0 is the desktop level in Windows, however, Doug Lee has mentioned this is not always the case. Nevertheless, FindTopLevelWindow should work, or if you use GetAppMainWindow() then step a parent or two back from this by using GetParent() to find the overall desktop window handle. Once you find the window you can traverse it normally as Stefan mentioned with GetFirstChild(), EnumerateChildWindows(), etc. The one item that may or may not work is how much info a function such as GetWindowText() will return depending on how sensitive it is to what is actually visible on the screen. This I am not sure and is best done with trial and error to your specific situation. -----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bue Vester-Andersen Sent: Thursday, October 04, 2012 4:08 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] SV: Re: Getting information from an application that is not in focus Hi Stefan, It is not just a window that is not in focus, but a window from another application, i.e. a window in another application tree. That is what makes the problem. Regards Bue -----Oprindelig meddelelse----- Fra: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] På vegne af Stefan Moisei Sendt: 4. oktober 2012 22:57 Til: jawsscripts@xxxxxxxxxxxxx Emne: [jawsscripts] Re: Getting information from an application that is not in focus Hi, I'm not too good with this, but since no one else answered... I've once seen an example of what you want. The only difference between accessing a focused window and accessing a non focused window seems to be the way you get the window handle. If the window is not in focus, you have to use the class, the control id, the title, or some other unique atribute to find the window handle. Then, simply navigate through it like a normal window. Hope it helps. -----Original Message----- From: Bue Vester-Andersen Sent: Tuesday, October 02, 2012 10:42 PM To: jawsscripts@xxxxxxxxxxxxx Subject: [jawsscripts] Getting information from an application that is not in focus Hi listers, Can any of you tell me how to get information from an app if it is not in focus? obviously, it would be best, if the app had a com server that I could talk to, but that is not the case. So, i would need to see if the programs main window exists and get hold of it, but I see no obvious way to do it. I am probably overlooking something pretty simple, but I would be thankful if someone could help me. Best regards Bue Vester-Andersen __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts