[jawsscripts] Re: Disabling a keyboard command

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 12 Jan 2020 11:02:25 +0000

Perhaps your easiest solution, rather than working to disable or replace the 
key assignment, is just to override the script itself, since you know its name. 
If this is for a specific website, you can do that with your own
file, of whatever name, and load it with a [Domains] entry in the 
ConfigNames.ini file in the JAWS user folder; create that file if it's not 
already there. If you use this approach, you will need to restart JAWS once 
after
modifying or creating that ConfigNames.ini file, because recent JAWS versions, 
for some reason, cannot seem to notice changes to that file without a restart.
If this is for all websites, you can't use a [Domains] entry and probably 
shouldn't use a browser-specific file in case you have to switch browsers. In 
such a case, you might modify default.jss. I have recommendations on how
to do that, but I also wrote them into my testing tool, BX, which I made 
available to the public. If you don't already have a default.jss or jsb in your 
JAWS user folder, you could just install BX from
https://www.dlee.org/bx/ and then modify the small default.jss that ends up in ;
that folder, adding your script override.

On Sat, Jan 11, 2020 at 11:13:08PM -0800, jeremy.richards7@xxxxxxxxx wrote:
As an appendage to my previous message...

I put a semicolon before the control+Windows+J keyboard command of interest in 
the default.jkm and internetExplorer.jkm files, and still no change in 
behavior--the command within the chrome browser is still telling me no table 
found. The goal is to prevent this script from doing anything at all.

I'm now getting into voodoo scripting in that I'm moving files around and 
editing files to try to do something as simple as disabling a single freakin 
keyboard command, but I can't even get something as simple as this to work. 
Head scratcher. 😊

I'm now just as lost as when I started this journey. 😊

I will add that when looking in the JAWS keyboard manager for Internet 
Explorer, the JumpToTableCell keyboard command doesn't have a keyboard command 
associated with this script.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Brian Hartgen
Sent: Saturday, January 11, 2020 9:19 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Disabling a keyboard command

It is actually in default.JKM as well.

What you should really do, when you have modified that file, is to put it in 
your local jaws settings/ENU folder. Certainly take it from the location you 
previously gave, but when modified, place in the local jaws settings/enu folder 
relative to your account. In that way, those keystrokes would be honoured and 
when there is a jaws update, it is still going to work for you.
Putting it back in global will either mean jaws will not update, or you will 
lose it next time.
Go to the utilities menu, explore utilities folder, explore my settings.
That is the location of the local jaws settings/enu folder.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of jeremy.richards7@xxxxxxxxx
Sent: 12 January 2020 05:10
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Disabling a keyboard command

Hi all,

I'm desperately trying to disable the following JAWS 2020 Google Chrome Browser 
command: Control+WindowsKey+J. Within Chrome this will jump to a specific table 
cell, but I want to use this command for my own personal use with another 
application.

I can't find this JAWS script anywhere within the Chrome settings or even the 
default keyboard settings. I did find this JumpToLine command within the JAWS 
2020 Internet Explorer keyboard manager within the following file in JAWS 2020:
C:\ProgramData\Freedom Scientific\JAWS\2020\Scripts\enu\Internet
Explorer.jkm

I moved the InternetExplorer.jkm file outside of the Freedom Scientific folder 
into my D drive to edit out the keyboard command. I placed a semicolon at the 
beginning of the line to wipe out the Control+WinKey+J command. I then moved 
the file back to its original location. I even went as far as restarting my 
computer.

Even after my modification, if Chrome is open, and if I press this
control+WindowsKey+J command JAWS will tell me that I'm not in a table,
which means I've not fully disabled the keyboard command from within JAWS. I 
looked in the keyboard manager within the Internet Explorer folder, and the 
keyboard command is no longer showing. It appears the keyboard command is gone, 
but the script still remains.

I should also mention that the "Not in table" message is still announced within 
Internet Explorer.

Where else can I look within my JAWS 2020 scripts to wipe out this
Control+WinKey+J command?

Thanks for any help,

JR


__________�

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

__________�

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

__________�

View the list's information and change your settings at
//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
__________�

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

Other related posts: