Additionally, you will need to define both the long and short messages as
follows:
Messages
@MSG_X_L
Long message!
@@
@MSG_X_S
short
@@
EndMessages
The above lines should be below the Include line suggested and before your
functions and scripts. Alternately, they can be placed in a separate
message file like, "appName.jsm". If you place these lines in a separate
file, add include statement in the script file like:
Include "appName.jsm"
The convention for these constants is to use all capital letters. Adding
the MSG_ prefix is just my preference.
Don Marang
----- Original Message -----
From: "Jitendra" <[email protected]>
To: <[email protected]>
Sent: Friday, July 03, 2009 11:17 PM
Subject: Re: [JAWS-Users] a question in scriptting
Hello, please add the include statement to the hjconst file at the top of
your practice file.
like this:
Include "hjconst.jsh"
;this is the header file where output types are defined, and OT means the
output type, for more information, see the detailed discription speech
output type topic of the help in jaws, which related to verbosity, and for
example:
OT_user_Buffer means that this message shall be printed in the virtual
buffer, and other ot types like; ot_String, ot_help, ot_status,
ot_control_name and all of the others are just spoken, but may or may not
be disabled as per their ot type.
Hth, thank you, Jitendra.
for downloading scripts written by us for JAWS for window,
visit us:
Http://www.ultrauniverse.co.cc
Skype: Jeet.delhi
You wrote:
hi, i have started learning scriptting since 3 days. i'm depending on the
freedomscientific manual "basic of scriptting". i have faced a problem in
applying
certain rule. it is the function of "sayFormattedMessage". i have entered
the parameters for this function as illustrated in the manual as follows:
(OT_JAWS_MESSAGE,
x_l, x_s) where x is the name of the message. this is what exactly in the
manual. when i came to compile the script, an error message comes up
saying,
"unknown variable called OT_JAWS_MESSAGE". i've chek all the code lines
and found no mistakes. please tell me what's up? thank you, if it needs a
direct
communication with me, here is my skype account: "kimo_2485" feel free to
add me (welcome anyone)
For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/
For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/