[jawsscripts] Re: A suggestion is needed to perform a say function with every navigation and when item gains focus

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 31 Jul 2009 19:24:04 +0530

No, it is not the case, I always call the default scripts and functions 
in every script set I write and release for public specially, but in 
this event, default keypress is falling the way it should, but when my 
condition is met, it reads the string I want, and no other info such as 
the column header for that particular column and all other column with 
header and items are left.
Thank you.
You wrote:
hi Jitendra.

hmmm, I wouldn't have thought personally, that KeyPressedEvent would've been
the best choice for this? But, admittedly I haven't been following the
thread at all properly, so perhaps it is.

However, ... well I'm no scripter really, so please disregard what I'm about
to suggest if it's too crazy,
but, I just wondered, might your problem about KeypressedEvent skipping
other things when you don't want it to, when your condition is met, perhaps
be due to not calling the default KeyPressedEvent function after you've
finished your processing?

i.e. wouldn't you always want KeyPressed Event to work as normal, whether or
not it meets your specialized conditions?

i.e.
Void Function KeyPressedEvent (int nKey, string strKeyName, int
nIsBrailleKey, int nIsScriptKey)
; then put all your code for your specialized conditions here,

; now call the default version of keyPressedEvent:
KeyPressedEvent (nKey, strKeyName, nIsBrailleKey, nIsScriptKey)
EndFunction

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: