[jawsscripts] Re: Losing Focus - "No window is active"

  • From: Jim Bauer <holdsworthfan@xxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 18 Dec 2008 20:45:53 -0600

I've worked around this a couple of ways:
* Link a scriptset to default.jss whose sole purpose is to monitor for
focusless situations and restore focus to the last window handle seen
in focus, or another appropriate handle.

* Monitor key presses that are most likely to yield this hurtle (I.E.
space/enter for escaping the aforementioned dialogs), then
schedule--or immediately call--a monitoring function that would work
as described above to handle any undesired focus changes.

There is a third solution, but I've only seen this happen in early
versions of Windows Messenger. Jaws may simply be trapped in a
fruitless window. The basic outline here would be to obtain the
boundaries and some identifying attributes, then move the jaws cursor
outside the window when it's detected. Sometimes this is enough; other
times, the PC Cursor must be routed to the new position.


Original message
from: "Donald Marang" <donald.marang@xxxxxxxxx>
subject: [jawsscripts] Losing Focus - "No window is active"
date: Thu, 18 Dec 2008 21:08:36 -0500

>In the Verizon application I am writing scripts for, JAWS loses focus if I 
>delete a voice mail.  My scripts can now open the voice mail list and move 
>through the items.  I can use the Applications key to choose an action for the 
>item.  There is a Delete option, which brings up a conformation message.  When 
>the dialog disappears,, JAWS loses focus.  JAWS 9 and 10 both respond, "No 
>window is active", to any key pressed.  Is there any way for my scripts to get 
>around this and return to the list with the same item selected?  
>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: