[jawsscripts] Re: Using a window class

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 22 Mar 2012 12:50:24 -0700

From the fsdn:
Find the top level window with the specified window class and/or
window name. If you do not wish to search based on one of the
arguments, use "" for that argument
Returns:
The handle of the window that is found. This is 0 if the window is not
found.

On 3/22/12, Bissett, Tom <tom.bissett@xxxxxxx> wrote:
> Hi,  I am trying to use the window class to get a window handle.
> I have the FindTopWindow function and I have obtained the window class using
> the getTreeInfo function.
> How ever when I try to use the window class whether I put it in quotes or
> not the script rejects it on compile
> My code is
> var handle mainWindow,
> Handle statuswindow
> let MainWindow = FindTopLevelWindow("PCSWS:Main:00400000", )
>
> Can any one tell me what I am doing wrong?
> Thanks
> Tom Bisset
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Blame the computer--why not? It can't defend itself & occasionally
might even be the culprit
Jackie McBride
Ask Me Computer Questions at: www.pcinquirer.com
Jaws Scripting training materials: www.screenreaderscripting.com
homePage: www.abletec.serverheaven.net
__________�

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

Other related posts: