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

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 25 Dec 2008 11:37:20 -0500

Thanks.  I was unaware this had to be done manually!  If I add the following 
line to DEFAULT.JSS:
Use "VZCallAssistantDefault.jsb"

This contains the TestMSAA script and my version of WindowActivatedEvent 
function, which calls this function again at the end to pass it down the 
chain.  Is there any more locations in the chain at this point?  Like to any 
built in functions?  Or is this unnecessary at the default level?  Shouldn't 
I see the script, TestMSAA, in the Keyboard Manager list for default?  I do 
not see this script in this list!  How do I assign it a keystroke?  It does 
show up under VZCallAssistantDefault already assigned, but there is no such 
application and it does not respond when pressed.

Is the suggestion here that I move my ToastEvent function to this default 
level file?  I had not considered this before.  I kept the mindset of a user 
that might not want to modify their default file.  If the script auto 
installer can handle adding a simple Use statement, this should not be an 
issue.   This would simplify things a little and remove the need for adding 
the scope to the call!

Thanks!  I will have to experiment some with this and in the process learn 
more.

Don Marang


----- Original Message ----- 
From: "Cohn, Jonathan C [IT]" <Jonathan.C.Cohn@xxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, December 23, 2008 11:25 AM
Subject: [jawsscripts] Re: Losing Focus - "No window is active"


>I don't believe anybody replied to this.  I would expect the only 
>possibility would be to schedule a script and since the application focus 
>changed you might need to put the scheduled script into the default.jss to 
>ensure it is accessible.  Any possibility of changing the event called on 
>focus change and looking at the previous  item and if it is a VoiceMail 
>message then do a focus switch to the main Verizon window?
>
> Jon
>
>
> Jon
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx 
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Donald Marang
> Sent: Thursday, December 18, 2008 9:09 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Losing Focus - "No window is active"
>
> 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
>
>
>
> This e-mail may contain Sprint Nextel Company proprietary information 
> intended for the sole use of the recipient(s). Any use by others is 
> prohibited. If you are not the intended recipient, please contact the 
> sender and delete all copies of the message.
>
> __________
> 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: