[jawsscripts] Re: AW: KeyPressedEvent() how to stop keys from hitting jaws

  • From: Jonathan Cohn <jon.c.cohn@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 13 Dec 2016 13:26:16 -0500

To elaborate on what Bob stated, to override one default key, your best bet
is to override the appropriate script.
If you are interested in overriding most keys, then you need a different
ability. I don't remember the exact way to do this, but keyboard help and
developer modes certainly overlay a separate keymap that overrides some or
all functionality. The keypressEvent seems to occur after JAWS has bound
the script to the pressed key.


On 13 December 2016 at 09:36, Bob _ <temp@xxxxxxxxxxxxxxx> wrote:

Would this not be easier to do:
Script DownCell ()
TypeCurrentScriptKey ()
EndScript

Bob

On 13 Dec 2016, at 14:24, IPDGmbH <jawsscripts@xxxxxxxxxxxxxxx> wrote:


For clarification here what I did so far:
void function keypressedevent(int nKey, string strKeyName, int
nIsBrailleKey, int nIsScriptKey)
;appendToClipboard(strKeyName,false)
if strKeyName == "Alt+Control+DownArrow" then
passKeyThrough()
TypeCurrentScriptKey ()
else
keypressedevent(nKey, strKeyName, nIsBrailleKey, nIsScriptKey)
endIf
endFunction


-----Ursprüngliche Nachricht-----
Von: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@
freelists.org] Im Auftrag von IPDGmbH
Gesendet: Dienstag, 13. Dezember 2016 13:28
An: jawsscripts@xxxxxxxxxxxxx
Betreff: [jawsscripts] KeyPressedEvent() how to stop keys from hitting
jaws

   Hello listers,
how do I prevent a Jaws key stroke from being understood and executed by
jaws?
I have written my own version of Keypressed event, but the Combo in
question still is interpreted by jaws. Is there something earlier I should
step in the chain? ProzessKeypressedEvent() or something like this?

Thanks in advance

Richard

__________

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



__________�

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

Other related posts: