[jawsscripts] Re: script is not working.
- From: Jitendra <jeet.invincible@xxxxxxxxx>
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Mon, 17 Nov 2008 10:16:06 +0530
Hello mathew and all, sorry as I have deleted the original thread
related to this topic, therefore, none of you see your message below.
by the way, I looked in to the jss of fs reader, and found following:
JAWS just scripted the keyboard shortcuts, but they already built-in in
fs reader, means one can use any screen-reader provided that fs reader
is installed, and you can use keys like Comma to back, period for
forward, ctrl+O to open, play, pause, stop and more keys, so now, why fs
scripted it?
may be just to prevent jaws from speaking key names, and in some places
when changing speed, provide the level of speed like 15, 20 or whatever
you set.
so when scripting keys already built-in, following code what they used:
and read till end of this mail for the answer of your question.
script OpenDialog()
if UserBufferIsActive() then
UserBufferDeactivate()
EndIf
SayCurrentScriptKeyLabel()
TypeCurrentScriptKey()
;as you can see, that type current script key statement types the key
assigned with the script, and in your case, f5 was assigned to the
script, but in fs reader, ctrl+O is ;built-in for open dialog, script
types f5, and the dialog is not invoked.
;therefore, when changing keys to such scripts, make sure if key is
built-in, use some other code instead, and remove type current script key.
;type key or type string may be helpfull.
EndScript
Thank you, Hope this helps. Jitendra from india.
Skype: Jeet.delhi
__________
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: