Sweet code, thanks! Richard Justice-website ownner www.blind-computing.com ----- Original Message ----- From: "Bob J." <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 07, 2007 10:42 AM Subject: Re: [Blind-Computing] Assigning A Sound For The Delete Key
> > Well, yes! You can add a sound to the delete key if you are willing to > take > the risk! > The risk is that you might mess up something else in the process. > > Below is the code that I used to add a sound to the delete key but only in > the NotePad program. > This was done in the NotePad.jss file. Then that .jss file was > recompiled. > You could do something similar in your default.jss file but that is where > the risk baloons! > The default.jss file already contains the necessary function. > However, that function does not contain the code to make the sound. > > The code that I inserted into the NotePad.jss file appears between the two > lines of plus signs below. > Do not include the plus signs if you use the code! > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Void Function KeyPressedEvent (int nKey, string strKeyName, int > nIsBrailleKey, int nIsScriptKey) > ; Add your code for KeyPressedEvent here. > ; To make your changes application specific, copy this function to an > ; application script file. > ; SayInteger (nkey) > > If nkey == 83 Then > > PlaySound ( "c:\\chimes.wav" ) > > EndIf > > EndFunction > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > The sound file that you use must be a *.wav file. > Place the full path and file name of the desired file between the > quotation > marks in the > PlaySound ( "c:\\chimes.wav" ) > line as shown above. > > IMPORTANT NOTE: > Where ever a single \ should normally appear in the path, be sure to use a > double \\! > > Good luck! > > Bob > > > ----- Original Message ----- > From: "anthony campbell" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, November 07, 2007 8:50 AM > Subject: Re: [Blind-Computing] Assigning A Sound For The Delete Key > > > hi donnie, no you can't assign a sound. > > hth# > anthony > > ----- Original Message ----- > From: "Donnie Parrett" <[EMAIL PROTECTED]> > To: "Blind-Computing" <[email protected]> > Sent: Wednesday, November 07, 2007 1:10 PM > Subject: [Blind-Computing] Assigning A Sound For The Delete Key > > >> Is it possible to assign a sound to the delete key? If so, please tell >> me >> how. Thanks for any help >> that I may get on this subject. >> >> Contact me at: >> Donnie Parrett >> 1956 Asa Flat Road >> Annville, KY 40402 >> Home # 606-364-3321 >> Cell # 606-438-2557 >> Church # 606-364-PRAY >> Skype Name: Donnie1261 >> Email: [EMAIL PROTECTED] >> >> >> Visit the Blind Computing List 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/BlindComputing.php >> If you wish to join the JAWS Users List send a blank email to the >> following address: >> [EMAIL PROTECTED] >> >> __________ NOD32 2642 (20071106) Information __________ >> >> This message was checked by NOD32 antivirus system. >> http://www.eset.com >> >> > > > Visit the Blind Computing List 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/BlindComputing.php > If you wish to join the JAWS Users List send a blank email to the > following > address: > [EMAIL PROTECTED] > > > Visit the Blind Computing List 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/BlindComputing.php > If you wish to join the JAWS Users List send a blank email to the > following address: > [EMAIL PROTECTED] Visit the Blind Computing List 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/BlindComputing.php If you wish to join the JAWS Users List send a blank email to the following address: [EMAIL PROTECTED]
