[jawsscripts] SV: Re: Getting information from an application that is not in focus

  • From: Bue Vester-Andersen <bva_lists@xxxxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 4 Oct 2012 23:07:43 +0200

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

Other related posts: