[jawsscripts] Re: detecting the handle variable if it foundthe window or not?

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 18 Aug 2009 00:01:48 -0400

Good idea!  I have not tried that function yet.  Your logic makes perfect 
sense.

Don Marang


----- Original Message ----- 
From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, August 17, 2009 2:11 PM
Subject: [jawsscripts] Re: detecting the handle variable if it foundthe 
window or not?


> Hi Donald:
> You might try using the GetForeGroundWindow function to return the
> handle of the main window or dialogue with focus.  This function does
> not require a starting handle so May work in some instances where the
> handle with focus does not link directly to the main window.
>
> David Farough
> Application Accessibility Coordinator/coordonateur de l'accessibilité
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> Tel. / Tél:    (613) 992-2779
>
>>>> "Donald Marang" <donald.marang@xxxxxxxxx> 09:26 am Sunday, August
> 16, 2009 >>>
> Are there any things that can be done to make the percentage of success
>
> greater when obtaining a window handle?  It seems that these "Find"
> calls
> fail based on cursor positions or some other controllable conditions.
> Is
> there things that might be considered before calling these functions?
> Perhaps moving focus to a known location or routing the JAWS cursor to
> the
> PC cursor?  Will these functions fail if the application currently does
> not
> have any window in focus or the mouse is positioned outside the window?
> I
> would like to make several applications more reliable.
>
> Don Marang
>
> __________�
> 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

Other related posts:

  • » [jawsscripts] Re: detecting the handle variable if it foundthe window or not? - Donald Marang