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

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 16 Aug 2009 09:26:37 -0400

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


----- Original Message ----- 
From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, August 16, 2009 12:57 AM
Subject: [jawsscripts] Re: detecting the handle variable if it found the 
window or not?


>U need 2 either indicate that the window wasn't found & that the
> action couldn't be performed or u need to look for something
> different. U don't wanna just leave the user hanging, unable to set
> focus & unable to go where they wanna go.
>
> As for your question about links in the virtual buffer, the function
> is %keyfor(scriptkeyname) U can download the latest basics of
> scripting manual from the fs website, in the training section. I
> recommend highly that u download it & have a look.
>
> On 8/15/09, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
>> Hello, Thank you very much once again, you saved me!
>> so this way I should call what I think?
>> if (grip) then
>>  > SetFocus (grip)
>> Else
>> Return
>> endif
>> Thank you.
>> __________
>> 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
>>
>>
>
>
> -- 
> Change the world--1 deed at a time
> Jackie McBride
> Check out my homepage at:
> www.abletec.serverheaven.net
> & please join my fight against breast cancer
> <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
> __________
> 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: