[nfbcs] JAWS Scripting Problem
Doug Lee
dgl at dlee.org
Mon Feb 17 20:21:50 UTC 2014
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
More information about the NFBCS
mailing list