Hi It's very difficult to explain to you what you are doing wrong, so this may be a bit long-winded. Before we get started it is important to say that I am not very advansed with writing JAWS for Windows scripts. Here is the default AutoStartEvent Function: Void Function AutoStartEvent () let g_JavaIgnoreNextActiveItemChange = 0 let GlobalMousePixel = 3 FrameClearValues () VirtualStart () if (DefaultFirstTime == 0) then let DefaultFirstTime = 1 Let iWin95 = IsWinNTOr95 () Let iWin2K = ((!iWin95)&&(GetWindowsOS ()==OS_WIN_NT)) Let GITblHeaders=TBL_HEADER_BOTH;Default behavior If (!IsJFWInstall()) then ;SayFormattedMessage (ot_app_start, cmsgAppStart1_L, cmsgAppStart1_S) endIf endIf ; DefaultFirstTime == 0 If BrailleInUse () then Let GIBrailleActive = on BrailleStart () EndIf InitializeMSNSupport();For MSN Messenger Contact speaking. let BackForward=0 let giRestoreFormsModeAfterVirtualizeCPS=FALSE EndFunction And now, here is the modified version that says "Hello, how are you today": Void Function AutoStartEvent () let g_JavaIgnoreNextActiveItemChange = 0 let GlobalMousePixel = 3 FrameClearValues () VirtualStart () if (DefaultFirstTime == 0) then let DefaultFirstTime = 1 Let iWin95 = IsWinNTOr95 () Let iWin2K = ((!iWin95)&&(GetWindowsOS ()==OS_WIN_NT)) Let GITblHeaders=TBL_HEADER_BOTH;Default behavior If (!IsJFWInstall()) then ;SayFormattedMessage (ot_app_start, cmsgAppStart1_L, cmsgAppStart1_S) endIf SayString ("hello, How are you today?") endIf ; DefaultFirstTime == 0 If BrailleInUse () then Let GIBrailleActive = on BrailleStart () EndIf InitializeMSNSupport();For MSN Messenger Contact speaking. let BackForward=0 let giRestoreFormsModeAfterVirtualizeCPS=FALSE EndFunction HTH Matthew Horspool -----Original Message----- From: jfw-bounce@xxxxxxxxxxxxx [mailto:jfw-bounce@xxxxxxxxxxxxx] On Behalf Of Angel Sent: 21 August 2004 13:27 To: jfw@xxxxxxxxxxxxx Subject: Writing of Jaws scripts I was trying to write a short script. I wanted Jaws to say after saying "Jaws for windows is ready", "hello angel, how are you today", as I wanted to sort of customize my Jaws experience. I wrote SayString("Hello angel, how are you today")()ot_string) I went to the script that said autostart, pressed enter, upon hearing endIf ; DefaultFirstTime == 0 I put a blank line above this and wrote my script. When I closed my script I got an error which said something to the effect I had written an unexpected word. The script did not take hold. What am I doing wrong. Any help would be appreciated. -- To post a message to the list, send it to jfw@xxxxxxxxxxxxx To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. Archives located at: //www.freelists.org/archives/jfw If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx -- To post a message to the list, send it to jfw@xxxxxxxxxxxxx To unsubscribe from this mailing list, send a message to jfw-request@xxxxxxxxxxxxx with the word unsubscribe in the subject line. Archives located at: //www.freelists.org/archives/jfw If you have any concerns about the list, post received from the list, or the way the list is being run, do not post them to the list. Rather contact the list owner at jfw-admins@xxxxxxxxxxxxxx