HI Steve. If you want to add to the list , remember that the delimiter defined in the constant is not an ordinary space character, but a character with ascii 7. There are spaces in the description itemss, but from one item to another is this funny sort of ascii7 character. For example: description4="A space umlaut space capital ascii7char E space umlaut space capital ascii7char" The script uses the stringSegment function to determine which character goes with which description, and the parameter for the stringSegment function is this funny character, which is declared as List_Separator. So, it's critical that the character be there between the items in the description constants as well as between the items in the symbol constant. The character should not appear at the end of the list before the ending quote.
Also, I followed the example of the constants that were already there. I added my additional characters to the end of the symbol constant, and then added a new description constant under the last description constant, taking care to put the comma after the last description constant to ensure proper syntax before I added the new description constant. You have to put the descriptive item in the same order as the characters, or they won't correspond. The list is sorted alphabetically automatically, probably because of the way Windows treats list boxes and list views. This is true even though the symbol constant and description constants don't have their items in alphabetical order. The important thing is that the symbol characters in the symbol constant be in the same order as the descriptive items in the escription constants as a whole, since the description constants are treated as 1 string by the script. For example, if the E acute character were the fifth symbol listed in the symbol constant, then it should be the fifth character listed in the description constants as a hole. Finally, in order for the script to work with the characters, make sure that you concatinate the new description item at the appropriate place in the script and in the same format used by the other concatinations. You probably know all this already, or could have figured it out yourself, but I thought it might save you some time and difficulty to tell you anyway. Hope this helps. P.S., the symbol constant may have a character limit that corresponds to the limit of the line length in the script manager, though I can't be sure about that. Tony Hernandez: Speaksclan Patriarch http://www.tonyspeaks.com http://www.speaksclan.net ----- Original Message ----- From: "Griffiths, Steve" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, January 08, 2008 11:28 AM Subject: Re: [JAWS-Users] Inputting international characters in Word > Tony, > > Thanks a lot for such a detailed and complete answer to my query! I'll > work through it properly this evening. > > It's excellent news that the Insert + 4 list can be manipulated, as I've > had other clients who wanted some non-standard characters and this might > provide an answer for them. Cheers and happy new year. > > Steve > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tony > Hernandez > Sent: 08 January 2008 14:57 > To: [email protected] > Subject: Re: [JAWS-Users] Inputting international characters in Word > > HI Steve. > > Below is the code you can use for the insert+numbers row 4 script that > will > also contain the umlauted characters. You need to open the script manager > and then open the default file because you will need to recompile this at > the end of the procedure. I strongly suggest you back up the existing > copies of VKeyboard.jss and VKeyboard.jsm, in case things go wrong, as > this > procedure involves modifying these files. > > 1. go to the file menu and press e to open a shared file. > 2. type the file name VKeyboard.jsm in the dialog box. > 3. Press control+A to select all and then control+v to paste the > following > into the file to replace the selected text. > > CONST > > symbol="€ ƒ … † ‡ • – — × ™ ¢ £ ¥ ¦ § © ª ® ± ² ³ ¶ · ÷ ¹ º ¼ ½ ¾ Á É Í Ó > Ú Ý á é í ó ú ý Ñ ñ ¡ ¿ æ ç Ç Ä Ë Ï Ö Ü ä ë ï ö ü", > > description="Euros florin ellipsis dagger (single) dagger (double) bullet > (large) en dash em dash multiply symbol unregistered > trademark cents pounds yen", > > description1="broken bar section symbol copyright feminine > ordinal registered trademark plus or minus superscript 2 superscript > 3 paragraph symbol (pilcrow)", > > description2="bullet (small) divide symbol superscript 1 degrees > (masculine > ordinal) one-fourth one-half three-fourths A acute capital E acute capital > I > acute capital", > > description3="O acute capital U acute capital Y acute capital a acute e > acute i acute o acute u acute y acute N tilde capital n tilde inverted > exclamation point inverted question mark AE Diphthong c cedilla c cedilla > capital", > > description4="A umlaut capital E umlaut capital I umlaut capital O umlaut > capital U umlaut capital a umlaut e umlaut i umlaut o umlaut u umlaut", > > DLG_VKEYBOARD="Select a Symbol to Print" > > > > 4. Save the file with control+S. > > 5. Go to the file menu again and press e to open a shared file. > > 6. Type the filename VKeyboard.jss and press enter. > > 7. Replace the code within the script with the following code. > > > > var > > int iIndex,;For position in list > > string strTemp, > > string strListText > > Let strListText = description+LIST_ITEM_SEPARATOR+ > > description1+LIST_ITEM_SEPARATOR+ > > description2+LIST_ITEM_SEPARATOR+ > > description3+LIST_ITEM_SEPARATOR+ > > description4+LIST_ITEM_SEPARATOR > > if ! strListText then > > return > > EndIf > > Let strListText = (stringChopRight (strListText, 1)) > > ; now post the dialog > > Let iIndex = dlgSelectItemInList (strListText, DLG_VKEYBOARD, true) > > If iIndex <= 0 then > > return > > EndIf > > let strTemp = (StringSegment (symbol, LIST_ITEM_SEPARATOR, iIndex)) > > ;TypeString (strTemp) > > CopyToClipboard (strTemp) > > TypeKey (cksPaste) > > > > 8. Press control+S to recompile the VKeyboard script. > > 9. Control+tab once or twice to the Default.jss file and press control+S > to > recompile that. > > > > You should be good to go. Below are the umlauted characters that you can > take my word have been inserted via the insert+numbers row 4 method. > Enjoy. > > äÄëËïÏöÖüÜ > > > > Tony Hernandez: Speaksclan Patriarch > http://www.tonyspeaks.com > http://www.speaksclan.net > > ----- Original Message ----- > From: "Griffiths, Steve" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, January 08, 2008 7:18 AM > Subject: [JAWS-Users] Inputting international characters in Word > > >> In Word you can enter umlauted characters by typing Control + Shift + >> semicolon, then the letter to be umlauted. The Control + Shift + >> semicolon action times out after about 5 seconds, so you need to press >> the letter to be umlauted within that time. >> >> I've noticed that if JAWS is running and I try this, the Control + Shift >> + semicolon action times out much quicker. I have JAWS set to the >> defaults, so when I press Control + Shift + semicolon JAWS starts to >> echo the keystroke and I have to press the letter before it finishes for >> the umlaut to appear. >> >> There seems to be no difference between Windows 98, Word 97 and JAWS >> 5.1, and Windows XP, Word 2003 and JAWS 9. With JAWS version 4.51 and >> earlier, this speeding up of the timeout doesn't happen. >> >> Does anyone know why this should happen, or if this behaviour can be >> altered? I have a client who is very slow on the keyboard and just can't >> get to the letter quickly enough to get the accented character. >> >> I have investigated two other possibilities: umlauts don't appear in the >> Insert + 4 list of characters, and my client isn't going to be able to >> remember all the ANSI numbers to input. Other than creating macros for >> each character, I can't think of any alternatives. >> >> Thanks in advance for any suggestions, >> >> Steve >> >> >> -- >> DISCLAIMER: >> >> NOTICE: The information contained in this email and any attachments is >> confidential and may be privileged. If you are not the intended >> recipient you should not use, disclose, distribute or copy any of the >> content of it or of any attachment; you are requested to notify the >> sender immediately of your receipt of the email and then to delete it >> and any attachments from your system. >> >> RNIB endeavours to ensure that emails and any attachments generated by >> its staff are free from viruses or other contaminants. However, it >> cannot accept any responsibility for any such which are transmitted. >> We therefore recommend you scan all attachments. >> >> Please note that the statements and views expressed in this email and >> any attachments are those of the author and do not necessarily represent >> those of RNIB. >> >> RNIB Registered Charity Number: 226227 >> >> Website: http://www.rnib.org.uk >> >> >> >> This message has been scanned for viruses by BlackSpider MailControl - >> www.blackspider.com >> >> Visit the JAWS Users List home page at: >> http://www.jaws-users.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 > 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 > 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 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]
