Moin, you're going to have to make a separate message file to contain your messages. U can call it anything u like, though if this is for notepad, then notepad.jsm is likely a logical choice. you'll need to put the messages u wrote in that file, give it a name, save it, then include it in your script & save that, too. On 11/15/12, moin sahil <moin.chamber1@xxxxxxxxx> wrote: > no success after putting include "common.jsm" > > > On 11/15/12, Bob Kennedy <intheshop@xxxxxxx> wrote: >> I don't know a whole bunch but all I am seeing is you have coded for a >> short >> >> and long message. However, you haven't got a message included as a part >> of >> >> the script. >> >> >> ----- Original Message ----- >> From: "moin sahil" <moin.chamber1@xxxxxxxxx> >> To: <jawsscripts@xxxxxxxxxxxxx> >> Sent: Thursday, November 15, 2012 6:40 PM >> Subject: [jawsscripts] please guide me about this variable error >> >> >> hi list, >> i am beginner in jaws scriptting >> i am doing a Exercise which is in Basics of Scripting >> but i am facing continuously a variable error when i am compiling >> code is below >> notepad.jsm file code >> ; Message file for Notepad >> Messages >> @MSGText_L >> This is an example of a long message. This message is only spoken by >> JAWS when the beginner verbosity setting is in use. >> @@ >> @MsgText_S >> This is an example of a short message. >> @@ >> EndMessages >> notepad.jss code >> Script SpeakMessage () >> SayFormattedMessage (OT_MESSAGE, MsgText_l, MsgText_S) >> EndScript >> Compile Error >> Unknown variable OT_MESSAGE >> please guide me if any1 know that why i am facing the error >> regards >> moin >> __________ï >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> >> __________ï >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> >> > __________ï > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > > -- Blame the computer--why not? It can't defend itself & occasionally might even be the culprit Jackie McBride Ask Me Computer Questions at: www.pcinquirer.com Jaws Scripting training materials: www.screenreaderscripting.com homePage: www.abletec.serverheaven.net __________ï View the list's information and change your settings at http://www.freelists.org/list/jawsscripts