[nfbcs] JAWS Scripting Problem

Nicole Torcolini ntorcolini at wavecable.com
Mon Feb 17 20:34:39 UTC 2014


That's the weird thing. It fails silently. The only reason that I knew that
it was failing was because I included a conditional statement to make JAWS
say "No" if it failed and "Yes" if it succeeded. I'll send the snippets  in
a little bit as they are on another computer. For now, I made my own file
HJNicoleConst.JSH and put
Const
 OPT_IGNORE_KEYBOARD = 4000
For what I am doing, I don't want to use any of the existing setting names.

-----Original Message-----
From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Doug Lee
Sent: Monday, February 17, 2014 12:22 PM
To: NFB in Computer Science Mailing List
Subject: Re: [nfbcs] JAWS Scripting Problem

Let us see a code snippet, and/or the actual compiler error message you get,
and an indication of what line of code you land on when you close the error
box. Without at least the last two of those things, it's hard to know what
you're encountering exactly.

Also though, most constants for the first parameter of SetJCFOption() are
already in HJConst.jsh and start with "OPT". You can of course make your own
versions of those if you like, as long as you don't try to include
HJConst.jsh and then redefine one or more constants with names that already
exist in HJConst.jsh. The normal practice, though, is to use the HJConst.jsh
versions when they exist. Example:
setJCFOption(Opt_Punctuation, 2)

On Fri, Feb 14, 2014 at 05:33:26PM -0800, Nicole Torcolini wrote:
I have decided to try writing scripts for JAWS to help solve some of the
problems that I am having with certain programs. However, I am running into
problems. It says not to add to the default HJConst.JSH file, so I created
my own JSH file and put constants in it. That seems to be fine as it is
finding the file and recognizing the constant. However, when I write:
SetJCFOption(A_CONSTANT, aValue)
it fails. Note that those are not the actual names of the parameters. Any
idea what I am doing wrong? Any good resources on this? I have the script
guide, but it's huge, and I can't find anything on this particular problem
in it.
 
Thanks,
Nicole
_______________________________________________
nfbcs mailing list
nfbcs at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for nfbcs:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/dgl%40dlee.org

-- 
Doug Lee                 dgl at dlee.org                http://www.dlee.org
SSB BART Group           doug.lee at ssbbartgroup.com
http://www.ssbbartgroup.com
"The most exciting phrase to hear in science, the one that heralds new
discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm....
that's funny...'"  --   Isaac Asimov

_______________________________________________
nfbcs mailing list
nfbcs at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for nfbcs:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/ntorcolini%40wavecable.co
m





More information about the NFBCS mailing list