Towards the top of the file, before the script you typed in, add the following line: Include "hjconst.jsh" This is a header file that defines common JAWS constants. This includes the Output Types you mentioned. Don Marang -------------------------------------------------- From: "Paul Nagy" <pj.er.nagy1@xxxxxxxxxxx> Sent: Saturday, March 20, 2010 6:21 AM To: <jawsscripts@xxxxxxxxxxxxx> Subject: [jawsscripts] Exercise 10.1 does not compile > I cannot get Exercise 10.1 from the Basics of Scripting Manual to compile. > I am using JAWS with SERIAL NUMBER = 801 > > Here are the steps I followed: > > 1. Start Internet Explorer. > 2. Press INSERT + F2. > 3. Press S. > 4. Press ENTER. > 5. Press CTRL + E. > 6. Type the Script Name. > > AddFavorite > > 7. Press TAB. > 8. Press the SPACEBAR. > 9. Type the Synopsis. > 10. Press TAB. > 11. Type the Description. > 12. Press TAB. > 13. Press TAB (leaving CATEGORY blank). > 14. Press CTRL + D > 15. Press the SPACEBAR. > 14. Type the body of the message: > > TypeKey("CTRL+D") > SayFormattedMessage (OT_MESSAGE, "The web page has been added to your > favorites list.","Web page added to favorites") > > 15. Press CTRL + S > > Here is the ERROR MESSAGE I get: > > Unknown Variable: OT_MESSAGE > > I get this same error for these other choices for Output Type: > OT_NO_DISABLE > OT_STATUS > > Here is my contact information: > USER NAME = Paul Nagy > EMAIL = pj.er.nagy1@xxxxxxxxxxx > > Thanks for your help in advance. > > > __________ > Visit and contribute to The JAWS Script Repository http://jawsscripts.com > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts