I haven't written any scripts in years. But I think you have a capitalization problem. When you assign a value to PAWS (like a cat) it is all in capital letters. Later, when you check the variable in the if statement , it is all in lower case. The if statement will fail because the variable has not been assigned a value.
hth Don Marang ----- Original Message ----- From: "Mark" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, August 24, 2008 8:58 AM Subject: [JAWS-Users] Trouble shooting a script > Hi > > I don't understand why when the following code is similar to code from > several script files I have red why I get an error message in the If > statement. Any advice would be much appreciated. > > Rem start script > > Rem set value for the If statement > > let PAWS=GetWord () > > Rem insert a standard pause command > > Pause () > > Rem check to see if the current button is the pause button and if so pause > the program. > > If paws="Pause" Then > > TypeString (" ") > > EndIf > > Rem let the user know that the program is paused. > > Beep () > > Thank you for your help. > > > > God bless, > > Mark > > -- > Currently in Pendleton, Eastern Oregon Regional At Pendleton, Oregon > Clear, 57.0°F Wind:SSE-160° at 3mph > PASSIVE-AGGRESSIVE PERSONALITY: On the First Day of Christmas My True > Love Gave to Me (and then took it all away) > Created by Weather Signature v1.20 • http://www.weathersig.com > God loves you! > > > > Visit the JAWS Users List home page at: > http://www.jaws-users.com > Visit the Blind Computing home page at: > http://www.blind-computing.com > Address for the list archives: > http://www.mail-archive.com/[email protected] > To post to this group, send email to > [email protected] > To unsubscribe from this group, send an email to > [EMAIL PROTECTED] > For help from Mailman with your account Put the word help in the subject > or body of a blank message to: > [EMAIL PROTECTED] > Use the following form in order to contact the management team > http://www.jaws-users.com/managers.php > If you wish to join the Blind Computing list send a blank email to the > following address: > [EMAIL PROTECTED] > Visit the JAWS Users List home page at: http://www.jaws-users.com Visit the Blind Computing home page at: http://www.blind-computing.com Address for the list archives: http://www.mail-archive.com/[email protected] To post to this group, send email to [email protected] To unsubscribe from this group, send an email to [EMAIL PROTECTED] For help from Mailman with your account Put the word help in the subject or body of a blank message to: [EMAIL PROTECTED] Use the following form in order to contact the management team http://www.jaws-users.com/managers.php If you wish to join the Blind Computing list send a blank email to the following address: [EMAIL PROTECTED]
