[jawsscripts] Re: Move to Window

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2009 08:04:35 -0500

Hi Rui:
Have you checked the application to see if there is more than this
window that has this class and ID?

If there are others, then the FindWindowWithClassAndId may not return
the correct handle, or may not return any handle at all.

You might try adding a sayinteger (Janela) after the let statement.  If
you hear the value for the handle, then check in the application to see
if the window you found was correct.

You might also use the bx tool to determine the correct path to the
window and then write a function that will follow that path and then
return the handle for the 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 

>>> "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx> 07:09 pm Sunday, January
25, 2009 >>>
How to move to that window?

I have tried the following:

Script MoveToTopic ()
Var
Handle Janela
Let Janela=FindWindowWithClassAndId (GetAppMainWindow 
(getCurrentWindow()),"MozillaWindowClass",0)
MoveToWindow (Janela)
RouteVirtualToPc ()
EndScript

Rui

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: