[jawsscripts] Re: modifying Vkeyboard.jss and Vkeyboard.jsm files
- From: "Paul Magill" <magills@xxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Fri, 13 May 2016 14:38:06 +1000
Hi Abdullah,
Not so easy to generate that character.
I tried that before sending you the below post, but the method I used to use
many years ago, seems now not to work.
That method uses the number pad on the keyboard to enter any characters, but it
seems that those below ASCII 9 now do not work at all, and you get strange
results for many others.
Method:
1. turn on numlock, top left key on the numPad.
2. hold down the Alt key.
3. enter the ASCII number of the character you want. (65 is upper case A, 9 is
tab)
4. release the Alt key
5. IMPORTANT, turn off numlock, so you can use JAWS again.
Notes, This method, at least on my machine, now does not work for characters
less than ASCII 9.
you need to release the Alt key, then re press it to do the next character.
You can look up the ASCII codes for characters on the internet.
I don’t understand Uni code, so cant help with those.
These are some helpful references:
http://en.wikipedia.org/wiki/UTF-8
and
http://en.wikipedia.org/wiki/ANSI
and
http://en.wikipedia.org/wiki/Unicode
**. A way around this I discovered just now, is to copy the character 7 in the
VKeyboard.jsm file with the usual control+c, and paste it where you want.
Quick and easy.
Note, in the VKeyboard.jss, the constant from HJConst.jsh is used in the line:
let strTemp = (StringSegment (symbol, LIST_ITEM_SEPARATOR, iIndex))
Regards,
Paul from Australia
-----Original Message-----From: jawsscripts-bounce@xxxxxxxxxxxxx
[
mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Muhammad Abdullah
hi Paul,
I did success by adding some symbols using "\007"
one more question
how to write character 7 with ascii code I did not find any code on
hjconst.jsh, only \007 to indicate as seperator or space as you told me, on
VKeyboard..jss and jsm file the script written using character 7 for providing
spacing by default, vkeyboard.jss and vkeyboard.jsm not using \007 they are
using character 7 as you told me can you please show me to do so regards, On
5/12/16, Paul Magill <magills@xxxxxxxxxxx> wrote:
Hi Abdullah,
Looking at the VKeyboard .jss and .jsm files, I am guessing you
separated your additional characters and descriptions with spaces.
In the declarations in VKeyboard.jsm, the symbols are actually
separated by character 7, not spaces. (try arrowing along the symbols
after pressing numpad 3 times quickly so the ASCII values of the
characters are announced instead of the character itself, and you will
hear 7, and not 32 which is the space)
JAWS refers to character 7 as
LIST_ITEM_SEPARATOR
See the listing for that in HJConst.jsh.
If you are going to add to the constants in VKeyboard.jsm, then insert
\007x\007y\007z immediately before the last quote, where x y and z
are your additional symbols.
If you are going to add them in the .jss file, you can do it in a
similar way, such as + " \007x\007y\007z". .
Hope this helps,
Paul from Australia
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
Other related posts: