[jawsscripts] Re: Invalid window, hitting a brick wall?

  • From: "Steve Spamer" <stevespamer68@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 8 Mar 2019 11:13:42 -0000

Sorry, that was my mistake.  I did press alt F, what happens is the Pc just 
dings.  Just trying now though, sending a left click to that window does get 
rid of the invalid window, so hopefully something can be done.  Thanks for 
the help. Best steve.

-----Original Message----- 
From: Doug Lee
Sent: Thursday, March 7, 2019 10:47 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Invalid window, hitting a brick wall?

After Ctrl+Shift+F in BX, use Alt+F to focus the foreground window. Ctrl+F 
just moves BX to the getFocus window, which we already know is not valid.

On Thu, Mar 07, 2019 at 10:34:03PM -0000, Steve Spamer wrote:
CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender and know the 
content is safe.


Ok Doug. GetForeGroundWindow did work within BX, but it didn't in the test
function I had in the scripts.  After pressing control shif F, it takes me
off the invalid window, but then pressing control F didn't bring focus to
that window.  Maybe moving the cursor to this window might work, I'll try it
in the morning.  Regarding the scripts, I think you're right, but can't say
with any confidence, as I haven't come across this before.  So, when it hits
this invalid window, it's almost as if a portion of the scripts are loaded,
but not all, does this make sense?  Most keys don't work, but tsome odd ones
do, so it's kind of frozen.  Is there anyway to unload/reload the scripts
again?  Thanks for your help and that's given me something to try. Best
steve.

-----Original Message-----
From: Doug Lee
Sent: Thursday, March 7, 2019 9:58 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Invalid window, hitting a brick wall?

"Invalid window handle" literally means you don't have a window handle. In
other words, getFocus() is probably returning 0. getForegroundWindow() might
still return an actual handle, hence my suggestion. In BX's Window
Navigation map, getForegroundWindow is Ctrl+Shift+f. I thought the
foreground window might be the right app because your scripts seem not to be
unloaded from memory.

On Thu, Mar 07, 2019 at 09:39:38PM -0000, Steve Spamer wrote:
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.


Thanks Doug, but no that doesn't work either. BX reports the invalid window,
but like I say there are no children or parents of this window. Best Steve.

-----Original Message-----
From: Doug Lee
Sent: Thursday, March 7, 2019 8:42 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Invalid window, hitting a brick wall?

Try setFocus(getForegroundWindow())

On Thu, Mar 07, 2019 at 08:19:22PM -0000, Steve Spamer wrote:
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.


Hi Pete. No I'm afraid not. It's the same with any screen reader loaded, so
I guess it's a native issue.  Like I said, the screen, although it shows
text, is just dead, no amount of clicking etc activates anything.  Only alt
tabbing out of it gets things going again.  Anyway, I can't seem to do
anything about it at the moment, so it will just have to be a situation
where the user will just have to alt tab.  It's not a regular action that
causes this, and it doesn't happen on any subsequent actions doing the same
thing, it seems as if it's just that initial importing..  best steve.

-----Original Message-----
From: Peter Torpey
Sent: Thursday, March 7, 2019 8:01 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Invalid window, hitting a brick wall?

Does doing a screen refresh help the problem?

--Pete


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of Steve Spamer
Sent: Monday, March 4, 2019 2:23 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Invalid window, hitting a brick wall?

Hi folks. Here's another interesting situation I hope you can help with.

I have a situation that after a certain file is loaded, the scripts
encounter an invalid window.  Now, all can be resumed in regards to script
functionality if you say alt tab away and back in, or simply open the task
manager and then close again etc, but when this window is in focus, you
basically hit a brick wall.  You can't click in the window to bring focus,
you can't refresh, BX reports only this window and there are no parents or
children windows.  The scripts still report they are loaded, but non of the
keys work

So, you're basically stuck unless you manually do something like what I've
mentioned.  Has anyone encountered such a situation?, and if so, is there
any script way to maintain the scripts functionality without having to
manually get the focus back?  Nothing script wise I've currently tried
works.  I currently have the windows destroyed event reporting when this
happens, so I've tried switching scripts, refreshing and trying to get some
kind of focus via this function, but no joy.

If anyone has any ideas, I'd gladly like to hear them.  Many thanks steve.


Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with
Samplitude in Windows: www.samplitudeaccess.org.uk

__________???

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


__________???

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

__________???

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

--
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was
done." --Helen Keller
**********
Join us at CSUN March 13-15!
Booth 1013, Level Access Showcase Suite (Platinum Ballroom 8)
__________???

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

__________???

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

--
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was
done." --Helen Keller
**********
Join us at CSUN March 13-15!
Booth 1013, Level Access Showcase Suite (Platinum Ballroom 8)
__________???

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

__________???

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

-- 
Doug Lee, Lead Accessibility Architect
Level Access - over 1,000 organizations trust us to help them achieve and 
maintain digital accessibility compliance!
mailto:Doug.Lee@xxxxxxxxxxxxxxx  http://www.LevelAccess.com
"While they were saying among themselves it cannot be done, it was 
done." --Helen Keller
**********
Join us at CSUN March 13-15!
Booth 1013, Level Access Showcase Suite (Platinum Ballroom 8)
__________�

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

__________�

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

Other related posts: