home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / HANDICAP / VEDOCS20.ZIP / SECT11.DOC < prev    next >
Encoding:
Text File  |  1991-06-11  |  31.4 KB  |  609 lines

  1. SECTION ELEVEN
  2. CHARACTER DICTIONARIES AND KEY LABELING
  3.  
  4. 11.1:  INTRODUCTION
  5.  
  6. You will recall that back in Section 4 of this manual we first introduced you
  7. to Vocal-Eyes' Voice Control Panel.  We showed you how to set your screen and
  8. keyboard voices to suit your individual preferences via the Screen and
  9. Keyboard submenus.  As you explored these submenus, often you encountered
  10. options called "Dictionary only."  We told you then that we'd be talking
  11. about these dictionaries in a later section of this manual.  Well, you can
  12. tell by the number 11 that this is a later section of the manual.
  13.  
  14. In this section of your Vocal-Eyes users' guide we're going to be talking
  15. about two different types of dictionaries:  "character dictionaries" and "key
  16. labeling dictionaries."  The first of these will allow you to choose any mark
  17. of punctuation, control character or extended ASCII graphic character, and
  18. instruct Vocal-Eyes how exactly you would like that character pronounced. 
  19. Perhaps you'd like Vocal-Eyes to say "Full stop" every time it encounters a
  20. period in your applications program.  Or maybe you'd like the extended
  21. graphic character ASCII 209, which Vocal-Eyes describes as a "double
  22. horizontal with centered down joint" to be described as a "double bar single
  23. down," or perhaps "double T."  By making use of Vocal-Eyes' character
  24. dictionary you can do either of these and more.
  25.  
  26. Also in this section we'll show you how to attach a voice label to any key
  27. you'd like.  Would you like your DBXL F1 key to say "Help" every time you
  28. press it?  How about your Word Perfect F6 and F8 keys?  Would you like them
  29. to say "Bold" and "Underline" respectively?  In this section we'll show you
  30. how.
  31.  
  32. 11.2:  CHARACTER DICTIONARIES
  33.  
  34. A character dictionary is actually nothing more complicated than a small DOS
  35. or ASCII text file in which the first line denotes the character you'd like
  36. pronounced and then the second line describes exactly how you'd like it
  37. spoken.  Sounding Board users--you're already familiar with the concept of
  38. dictionaries from your use of exception dictionaries with your speech
  39. synthesizer.  Character dictionaries work almost exactly the same way.  By
  40. the way, you can still use your Sounding Board dictionary if you wish.
  41.  
  42. 11.2.1:  CREATING THE CHARACTER DICTIONARY
  43.  
  44. Here's how to create a character dictionary.  First, load in your favorite
  45. text editor or word processor with an "export to ASCII text file" feature. 
  46. Now, decide what character you'd like pronounced differently than Vocal-Eyes
  47. currently pronounces it.  For our example we'll use the period (.) character
  48. which we mentioned in the introduction to this section.  Type a period all by
  49. itself on the first line of your text file.  Press ENTER.  Now, on the second
  50. line, type in the word or words that describe how you'd like the period
  51. character pronounced.  Type "full stop," if you like, or "dot," or whatever
  52. else you'd prefer Vocal-Eyes to voice every time it encounters a period. 
  53. (Note:  Do not include the quotation marks, unless of course you want
  54. Vocal-Eyes to say quote.)  Now, having typed in your alternative
  55. pronunciation for the period character, press ENTER again to end the
  56. dictionary line.
  57.  
  58. Let's put a second character into your character dictionary.  This time we'll
  59. use the extended graphic character ASCII 209 we mentioned in the introduction
  60. to this section.  As before, the first thing you'll want to do is to enter
  61. the character into your text file.  Use line 3 to begin your second entry. 
  62. Now, there are two ways you can enter the ASCII 209 extended graphic
  63. character.  First, you could enter the character directly, assuming your text
  64. editor will accept such entries.  You would do this by pressing the ALT key
  65. and then using your PC's numeric key pad to enter the number 209. 
  66. Alternatively, and more simply, you could type a / character and then follow
  67. by typing in the number 209.  Press ENTER.  Now, type in the way you'd prefer
  68. the ASCII 209 "double horizontal with centered down joint" character be
  69. pronounced.  Your character dictionary text file should now look something
  70. like this:
  71.  
  72.                               .
  73.                               full stop
  74.                               /209
  75.                               double T
  76.  
  77. Don't forget to press ENTER to complete your second entry.
  78.  
  79. Are there any other character's you'd like to add to your character
  80. dictionary?  If so, enter them now.  Begin each new entry on the very next
  81. line following the preceding entry.  In other words, don't add any blank
  82. lines between entries.  Also, don't forget to conclude your last entry with
  83. a press of the ENTER key.
  84.  
  85. The order of the entries is not important other then the first line of each
  86. entry can only contain the single character you wish to define or the /
  87. followed by the ASCII value.  The line following the actual character can
  88. contain anything.  Therefore, each entry requires two lines in the file.
  89.  
  90. 11.2.2:  SAVING YOUR CHARACTER DICTIONARY
  91.  
  92. When you're done adding characters and their alternative pronunciations to
  93. your Character dictionary, it's time to save your file to disk.  Remember to
  94. save it in a standard ASCII text file.  If you're using Noteworthy to
  95. construct your character dictionary, using the ALT-S save file command will
  96. automatically save your file in ASCII format.  Word Perfect users, you can
  97. use the CTRL-F5 option.  Press 1 for DOS text files.  Press 1 a second time
  98. to save your file.
  99.  
  100. You should save your character dictionary in the same DOS subdirectory where
  101. you keep your Vocal-Eyes program files.  Also, you can give your character
  102. dictionary any legal DOS file name.  You should use the .CHR suffix, however,
  103. for reasons which will become evident in the next subtopic.
  104.  
  105. 11.2.3:  LOADING YOUR CHARACTER DICTIONARY
  106.  
  107. Now that you've created and saved your character dictionary, there's one more
  108. step you must perform before Vocal-Eyes can begin using it.  You must reload
  109. or reinvoke Vocal-Eyes from DOS and use the /C switch to alert Vocal-Eyes
  110. that there is a character dictionary you want it to use.
  111.  
  112. Let's say you named your character dictionary CHAR.CHR.  In this case your
  113. command line to load or to reinvoke Vocal-Eyes would look something like
  114. this:
  115.  
  116. VE /CCHAR.CHR
  117.  
  118. Did you save your dictionary file on the same disk or subdirectory where you
  119. keep your Vocal-Eyes files?  As is the case with .SET files, Vocal-Eyes first
  120. checks the drive and directory Vocal-Eyes was started from for the
  121. dictionary.  If found there, it will be loaded and used.  If it was not found
  122. there, Vocal-Eyes will then check the drive and directory you are currently
  123. logged onto.  Also, similar to .SET files, Vocal-Eyes will default to the
  124. .CHR extension.  Thus you could just as easily have entered your Vocal-Eyes
  125. command line as
  126.  
  127. VE /CCHAR
  128.  
  129. So you can see, it's a good idea to give your dictionary files the .CHR
  130. extension.  It saves keystrokes when loading the files.  Also, it helps keep
  131. your dictionary files organized.  It would be a good idea to keep these files
  132. as well as your .SET files in the same directory as Vocal-Eyes itself.  Like
  133. .SET files, you'll probably soon end up with an entire library of .CHR files,
  134. one for each of your favorite applications programs.
  135.  
  136. You can also load the character dictionary from the Files submenu.  Notice
  137. option 4: Load Character Dic.  If you press ENTER on this option, you will be
  138. prompted for the character dictionary file name.  Also, if you currently have
  139. a dictionary loaded, the default file name will be displayed.  If all you
  140. wanted to do was look at the file name currently loaded, simply press ESCAPE
  141. to abort the load.  If however, you actually wish to load a new character
  142. dictionary, simply type the dictionary file name and press ENTER.  If you
  143. supply a path as before, Vocal-Eyes will only look at the specified location. 
  144. If however, you only supply the file name with no drive or path
  145. specification, Vocal-Eyes will first look in the original Vocal-Eyes
  146. directory for the file.  If found, it will be loaded.  If not found however,
  147. the drive and directory you are currently logged onto will be checked for the
  148. same file name.  If found, it will be used.  If not found, an error message
  149. will be issued.
  150.  
  151. If you wish to clear the current character dictionary, simply specify a file
  152. name of 'C'.  Instead of loading the file C.CHR, Vocal-Eyes will clear the
  153. current dictionary and give a message indicating the clear took place.  There
  154. will be no default character dictionary file name after a clear command has
  155. been issued.
  156.  
  157. The advantage of using the files submenu to load the dictionary instead of
  158. the command line is you do not have to be at the DOS prompt to issue the
  159. load.
  160.  
  161. Another advantage of keeping your character dictionaries in the Vocal-Eyes
  162. directory will become apparent when the feature of autoloading is discussed.
  163.  
  164. 11.2.4:  THE CHARACTER DICTIONARY BUFFER
  165.  
  166. As was the case with .SET files, Vocal-Eyes reserves a place in your PC's
  167. memory to contain your .CHR dictionary files.  This place is known as the
  168. Character Dictionary Buffer.  By default Vocal-Eyes reserves 256 bytes of
  169. memory for this buffer.  This is enough space to hold 256 characters,
  170. including the dictionary characters along with their alternative
  171. pronunciations.  This will probably be plenty of buffer space for all but the
  172. largest of character dictionaries.  Should you require more space for your
  173. character dictionary, however, you can increase the size of this buffer up to
  174. 2 1/4K by using the /!Cn "set character buffer size" parameter.  The "n" in
  175. this parameter stands for the number, from 0 to 9, of the size in 1/4
  176. kilobyte increments of the character dictionary buffer you wish to create.
  177.  
  178. Remember, /! parameters can only be entered once the first time you run
  179. Vocal-Eyes.  They may be entered in any order, just so long as they all
  180. appear the first time you load Vocal-Eyes.  For example:
  181.  
  182. VE /!C6/CWP
  183.  
  184. This command would first allocate 6*256 or 1536 bytes for your character
  185. dictionary.  Then the file WP.CHR will be loaded in this buffer.  The line:
  186.  
  187. VE /!C0
  188.  
  189. would not allocate any character buffer at all.  This frees up more of your
  190. RAM but also means you will not be able to load any character dictionary this
  191. session with Vocal-Eyes.
  192.  
  193. As we said before, a character dictionary will remain in your Vocal-Eyes
  194. buffer until you either load a new character dictionary to take its place or
  195. else clear the dictionary from Vocal-Eyes' buffer.
  196.  
  197. You can load a new character dictionary into Vocal-Eyes at any time by simply
  198. returning to DOS and reinvoking Vocal-Eyes with the name of the new character
  199. dictionary you want entered as a /C(dictionary file name) parameter. 
  200. Vocal-Eyes will clear the current dictionary from memory and replace it with
  201. the new dictionary.
  202.  
  203. To clear a character dictionary from Vocal-Eyes' memory without loading a new
  204. dictionary in its place, simply return to DOS and reinvoke Vocal-Eyes with
  205. the following parameter:
  206.  
  207. VE /CC
  208.  
  209. The first C in the above parameter standing for character dictionary, the
  210. second C standing for clear.  Although your character buffer is still
  211. allocated, it does not contain any characters.  If you wish, you can at any
  212. time load a new character dictionary.
  213.  
  214. What if you don't want to clear the dictionary buffer but stop using it for
  215. a little bit?  For example if you are in WordPerfect and use the Shell option
  216. to enter DOS, you don't want all of the characters you setup for WordPerfect
  217. to speak that way in DOS.  How about using option 6 off of the General
  218. submenu.  This is the Character Dictionary on/off switch.  If you switch this
  219. to off, Vocal-Eyes will not use the entries currently in the buffer but it
  220. will not clear them out either.  Why not in your DOS.SET file, turn this
  221. option off?  That way when you load the DOS.SET file after you shelled to
  222. DOS, the character dictionary buffer will automatically be turned off for
  223. you.  When you exit back to WordPerfect, the character buffer could be
  224. automatically re-enabled for you as well.  Those of you with Noteworthy will
  225. notice the supplied NW.SET has this option turned off for you already.
  226.  
  227. 11.2.5:  THE "DICTIONARY ONLY" OPTION
  228.  
  229. Let's go back now to the Voice Control Panel's Screen and Keyboard menus. 
  230. You will recall that the punctuation submenus for each included among its
  231. rotary choices a "Dictionary Only" option.  Well, here's where your character
  232. dictionaries come into play.
  233.  
  234. Consider, for this example, the Screen Math option.  We've already learned
  235. that this option controls the way Vocal-Eyes voices the mathematical
  236. characters that appear on your screen, including the +, -, *, /, (, ), %, ^,
  237. <, > and =.  Now, suppose you really like the way Vocal-Eyes pronounces all
  238. of these punctuation marks--with one exception.  You'd rather that the /
  239. character, which Vocal-Eyes pronounces "slash" were pronounced "divided by." 
  240. Easy enough.  Simply load your character dictionary into your text editor and
  241. include the following two lines:
  242.  
  243.                               /
  244.                               divided by
  245.  
  246. Don't forget to press ENTER to complete your entry.  Now, re-save your
  247. dictionary under the same name.  Vocal-Eyes will still pronounce the /
  248. character as a /, but the next time you run or reinvoke Vocal-Eyes with your
  249. character dictionary Vocal-Eyes will pronounce the / character as "divided
  250. by."
  251.  
  252. You don't have to change the Math On/Off/Dictionary Only setting.  With the
  253. setting in the On position, Vocal-Eyes will pronounce all mathematical
  254. characters normally, except for the / character or all others you may have
  255. put into your character dictionary.
  256.  
  257. Choosing the "Dictionary Only" setting, on the other hand, instructs
  258. Vocal-Eyes not to pronounce any of the various mathematical characters except
  259. for those that are in your character dictionary.  Suppose, for example, that
  260. the only mathematical characters you want Vocal-Eyes to voice are the /, the
  261. * and the =.  In this case you would make the "Dictionary Only" selection and
  262. then add each of these three characters to your character dictionary.  You
  263. could enter them like this:
  264.  
  265.                               /
  266.                               slash
  267.                               *
  268.                               star
  269.                               =
  270.                               equals
  271.  
  272. As you can see, using character dictionaries allows for tremendous
  273. flexibility.  Take the 4 option in the Keyboard punctuation submenu.  Notice
  274. that you can use this option to set the voicing of the space character to
  275. Dictionary Only.  Would you like Vocal-Eyes to say something other than
  276. "space?"  How about something like "move?"  You could do this by adding the
  277. following two lines to your character dictionary
  278.  
  279.                               /32
  280.                               move
  281.  
  282. We used the /32 because it's the ASCII value for the space character.  Use
  283. your Attrib-ASCII hot key to see for yourself.
  284.  
  285. Sounding Board users--you can, if you like, instruct Vocal-Eyes to sound your
  286. synthesizer's bell every time you type a space by adding the following two
  287. lines to your character dictionary.
  288.  
  289.                               /32
  290.                               CTRL-EB1
  291.  
  292. Where CTRL-E means hold down the CONTROL key and press E.  Then let go of the
  293. CONTROL key and press B1.
  294.  
  295. This is using the Sounding Board Bell option.  This can be invoked by sending
  296. the Sounding Board CTRL-EBn where n=1, 2 or 3 for a low, medium or high tone. 
  297. There are more practical places you may wish to use the Sounding Bell option
  298. which we will talk about later in this manual.
  299.  
  300. 11.2.6:  POSSIBLE CHARACTER DICTIONARY ERRORS
  301.  
  302. When loading a character dictionary, you will notice Vocal-Eyes says
  303. "Character dictionary loaded" assuming you did not end the command line with
  304. a semicolon to silence the message.  If you get this message, you can assume
  305. the dictionary was loaded and no problems were detected.  However, if there
  306. is some sort of error, Vocal-Eyes will let you know what it is.  The
  307. following are possible errors.
  308.  
  309. 1)  ERROR READING CHARACTER DICTIONARY
  310.  
  311. This means Vocal-Eyes could not find the file you specified.  Maybe you
  312. mistyped the file name or maybe its not where you though it was.  Remember,
  313. if you do not specify a specific path, Vocal-Eyes will first look on the
  314. drive and directory Vocal-Eyes was started from.  If the file does not exist,
  315. the current drive and directory will be checked for the specified file.  If
  316. it still is not found, you will get the above error message.
  317.  
  318. Also, remember if you do not specify an extension, Vocal-Eyes will
  319. automatically add .CHR.  If you do not wish any extension, end the file name
  320. with a period.
  321.  
  322. 2)  INVALID FORMAT IN CHARACTER DICTIONARY
  323.  
  324. This means Vocal-Eyes found the file but discovered some sort of error in it. 
  325. For example, maybe the file had an odd number of lines.  Remember, each entry
  326. requires two lines so the file should have an even number of lines.  Maybe
  327. the first line of an entry contained more then just a single character.  Or,
  328. maybe you did not use the /n, where n is the ASCII value of the character to
  329. define, correctly.  Verify each line in your file and make any corrections. 
  330. Then try loading the file again.
  331.  
  332. 3)  CHARACTER DICTIONARY OVERFLOW
  333.  
  334. This means exactly what it says.  You tried to load a dictionary which
  335. contains more characters then you allocated for the dictionary buffer itself. 
  336. This would be like trying to stuff a watermelon through a key hole.  It just
  337. wont fit.  You will need to either make the dictionary smaller or restart
  338. Vocal-Eyes and increase the buffer size using the command /!Cn where n is a
  339. number from 0-9 indicating how many characters * 256.  For example 9 would
  340. indicate 9 * 256 or 2304 characters or bytes.  Remember if you do not use the
  341. /!Cn command, Vocal-Eyes will default to 256 characters for the buffer.
  342.  
  343. 4)  CHARACTER DICTIONARY CLEARED
  344.  
  345. This is not really an error message.  This is displayed whenever you issue
  346. the command /CC.  Vocal-Eyes is simply letting you know the buffer has been
  347. cleared.
  348.  
  349. 11.3:  KEY LABELING
  350.  
  351. Often, two different applications will use the same key to perform two
  352. distinct program functions.  The F5 key in Word Perfect, for example, is the
  353. key that calls up the Word Perfect File Manager.  In Lotus 123, pressing this
  354. same key invokes the GOTO function.  In DBXL, for a third example, F5 is the
  355. "Display Structure" key.
  356.  
  357. Switching back and forth between these and other applications programs you
  358. may use every day, it can get difficult at times, remembering exactly which
  359. program function belongs to which key.  Which is why Vocal-Eyes allows you
  360. the very helpful option of attaching voice labels to any of your PC's keys.
  361.  
  362. Would you like your F1 key to say "Cancel" when you're working with Word
  363. Perfect, and "Help" when you move to Lotus 123 or DBXL?  Here's how you can
  364. do just that by taking advantage of Vocal-Eyes' Key Label dictionaries.
  365.  
  366. 11.3.1:  CREATING THE KEY LABEL DICTIONARY
  367.  
  368. Creating a key label dictionary involves almost exactly the same steps as
  369. does creating a character dictionary.  Each entry, or key label, occupies two
  370. lines in a DOS ASCII text file.  Enter the name of the key you wish to attach
  371. the label to on the first line, then, on the second line, enter the label
  372. itself.
  373.  
  374. We'll demonstrate the process by creating a "Help" label to attach to the F1
  375. key.  Here's how such a label would look:
  376.  
  377.                               [F1]
  378.                               help
  379.  
  380. Notice that we enclosed the name of the key we wished to label within
  381. brackets.  Also, remember to press ENTER after typing Help in order to
  382. complete the entry.
  383.  
  384. Would you like to attach a label to the Word Perfect ALT-F6 "Flush right"
  385. key?  Easy enough.  Simply add the following two lines to your key label
  386. dictionary:
  387.  
  388.                               [altf6]
  389.                               flush right
  390.  
  391. You can attach a label to any key on your PC's keyboard.  You can designate
  392. any of the three "shift" states by preceding your key name with CAPS, ALT or
  393. CTRL.  Many keys such as the DELETE or the INSERT key use certain standard
  394. abbreviations, such as DEL and INS.  You may already be familiar with many of
  395. these abbreviations.  If not, consult APPENDIX H for a complete listing of
  396. all keys and their abbreviations.
  397.  
  398. 11.3.2:  THE .KEY KEY LABEL DICTIONARY FILE
  399.  
  400. Saving a key label dictionary is as easy as saving a character dictionary. 
  401. If you've used Noteworthy to construct your key label dictionary, using the
  402. ALT-S save file command will automatically save your file in ASCII format. 
  403. Word Perfect users, you can use the CTRL-F5 option.  Press 1 for DOS text
  404. files.  Press 1 a second time to save your file.
  405.  
  406. As was the case with your character dictionary, you should save your key
  407. label dictionary in the same DOS subdirectory where you keep your Vocal-Eyes
  408. program files.  Also, you can give your key label dictionary any legal DOS
  409. file name, but you'll probably want to use the .KEY extension.  For now, why
  410. not name your key label dictionary LABEL.KEY?
  411.  
  412. Now that you've created and saved your key label dictionary, the next time
  413. you run or reinvoke Vocal-Eyes from DOS all you need to do is add the
  414. following / parameter
  415.  
  416. VE /KLABEL.KEY
  417.  
  418. We added the .KEY extension to our file name, but you did not have to. 
  419. Vocal-Eyes automatically looks for a .KEY extension when searching for a
  420. dictionary file.
  421.  
  422. Vocal-Eyes stores the key label dictionary in a key label dictionary buffer
  423. similar to the character dictionary buffer it uses to store that dictionary. 
  424. The key label dictionary buffer has a default size of one-half kilobyte, or
  425. 512 characters.  You can increase the size of this buffer in one-half K
  426. increments up to 4.5K by the use of the /!K(0-9) start-up parameter.  Also,
  427. as with the character dictionary buffer, you can issue the command /!K0 if
  428. you don't plan on using the key label dictionary option.  This will free up
  429. 512 bytes of storage.  Notice the character dictionary uses 256 bytes for
  430. each buffer size as were the key label uses 512 bytes.  This is because the
  431. key label dictionary is likely going to always be larger.
  432.  
  433. Like all other /! parameters, this one can only be invoked once when you
  434. first run Vocal-Eyes for each session.
  435.  
  436. Just like the character dictionary, the key label dictionary will remain in
  437. your Vocal-Eyes buffer until you either load a new key label dictionary to
  438. take its place or else clear the dictionary from Vocal-Eyes' buffer.
  439.  
  440. You can load a new key label dictionary into Vocal-Eyes at any time by simply
  441. returning to DOS and reinvoking Vocal-Eyes with the name of the new key label
  442. dictionary you want entered as a /K(dictionary file name) parameter. 
  443. Vocal-Eyes will clear the current dictionary from memory and replace it with
  444. the new dictionary.
  445.  
  446. To clear a key label dictionary from Vocal-Eyes' memory without loading a new
  447. dictionary in its place, simply return to DOS and reinvoke Vocal-Eyes with
  448. the following parameter:
  449.  
  450. VE /KC
  451.  
  452. The K in the above parameter standing for key label dictionary and the C
  453. standing for clear.  Although your key label buffer is still allocated, it
  454. does not contain any characters.  If you wish, you can at any time load a new
  455. key label dictionary.
  456.  
  457. What if you don't want to clear the dictionary buffer but stop using it for
  458. a little bit?  For example if you are in WordPerfect and use the Shell option
  459. to enter DOS, you don't want all of the key labels you setup for WordPerfect
  460. to speak that way in DOS.  How about using option 7 off of the General
  461. submenu.  This is the Key label dictionary on/off switch.  If you switch this
  462. to off, Vocal-Eyes will not use the entries currently in the key label buffer
  463. but it will not clear them out either.  Why not in your DOS.SET file, turn
  464. this option off?  That way when you load the DOS.SET file after you shelled
  465. to DOS, the key label dictionary buffer will automatically be turned off for
  466. you.  When you exit back to WordPerfect, the key label buffer could be
  467. automatically re-enabled for you as well.  Those of you with Noteworthy will
  468. notice the supplied NW.SET has this option turned off for you already.
  469.  
  470. As with the character dictionary, you can also load the character dictionary
  471. from the Files submenu.  Notice option 3: Load Key Label.  If you press ENTER
  472. on this option, you will be prompted for the key label dictionary file name. 
  473. Also, if you currently have a dictionary loaded, the default file name will
  474. be displayed.  If all you wanted to do was look at the file name currently
  475. loaded, simply press ESCAPE to abort the load.  If however, you actually wish
  476. to load a new key label dictionary, simply type the dictionary file name and
  477. press ENTER.  If you supply a path as before, Vocal-Eyes will only look at
  478. the specified location.  If however, you only supply the file name with no
  479. drive or path specification, Vocal-Eyes will first look in the original
  480. Vocal-Eyes directory for the file.  If found, it will be loaded.  If not
  481. found however, the drive and directory you are currently logged onto will be
  482. checked for the same file name.  If found, it will be used.  If not found, an
  483. error message will be issued.
  484.  
  485. If you wish to clear the current key label dictionary, simply specify a file
  486. name of 'C'.  Instead of loading the file C.KEY, Vocal-Eyes will clear the
  487. current dictionary and give a message indicating the clear took place.  There
  488. will be no default key label dictionary file name after a clear command has
  489. been issued.
  490.  
  491. 11.3.3:  POSSIBLE KEY LABEL DICTIONARY ERRORS
  492.  
  493. When loading a key label dictionary, you will notice Vocal-Eyes says "Key
  494. label dictionary loaded" assuming you did not end the command line with a
  495. semicolon to silence the message.  If you get this message, you can assume
  496. the dictionary was loaded and no problems were detected.  However, if there
  497. is some sort of error, Vocal-Eyes will let you know what it is.  The
  498. following are possible errors.
  499.  
  500. 1)  ERROR READING KEY LABEL DICTIONARY
  501.  
  502. This means Vocal-Eyes could not find the file you specified.  Maybe you
  503. mistyped the file name or maybe its not where you though it was.  Remember,
  504. if you do not specify a specific path, Vocal-Eyes will first look on the
  505. drive and directory Vocal-Eyes was started from.  If the file does not exist,
  506. the current drive and directory will be checked for the specified file.  If
  507. it still is not found, you will get the above error message.
  508.  
  509. Also, remember if you do not specify an extension, Vocal-Eyes will
  510. automatically add .KEY.  If you do not wish any extension, end the file name
  511. with a period.
  512.  
  513. 2)  INVALID FORMAT IN KEY LABEL DICTIONARY
  514.  
  515. This means Vocal-Eyes found the file but discovered some sort of error in it. 
  516. For example, maybe the file had an odd number of lines.  Remember, each entry
  517. requires two lines so the file should have an even number of lines.  Maybe
  518. the first line of an entry was not a legal keystroke.  Refer to Appendix H
  519. for a complete list of valid keystrokes.   Verify each line in your file and
  520. make any corrections.  Then try loading the file again.
  521.  
  522. 3)  KEY LABEL DICTIONARY OVERFLOW
  523.  
  524. This means exactly what it says.  You tried to load a dictionary which
  525. contains more characters then you allocated for the dictionary buffer itself. 
  526. This would be like trying to stuff a watermelon through a key hole.  It just
  527. wont fit.  You will need to either make the dictionary smaller or restart
  528. Vocal-Eyes and increase the buffer size using the command /!Kn where n is a
  529. number from 0-9 indicating how many characters * 512.  For example 9 would
  530. indicate 9 * 512 or 4608 characters or bytes.  Remember if you do not use the
  531. /!Kn command, Vocal-Eyes will default to 512 characters for the buffer.
  532.  
  533. 4)  KEY LABEL DICTIONARY CLEARED
  534.  
  535. This is not really an error message.  This is displayed whenever you issue
  536. the command /KC.  Vocal-Eyes is simply letting you know the buffer has been
  537. cleared.
  538.  
  539. 11.3.4:  Putting it Together
  540.  
  541. Here's a way you can combine two of Vocal-Eyes' powerful voice features into
  542. a single even more powerful feature.
  543.  
  544. Recall from SECTION 6 of this manual that you can attach one or two of a
  545. variety of voice functions to any of the various cursor keys.  As a matter of
  546. fact, you really learned you can attach such voicing to any key.  Anyway, why
  547. not both label a key and attach a voice feature?
  548.  
  549. We'll use the F1 Help key we've mentioned several times so far in this
  550. section.  Suppose that in your program, whenever you press the F1 key, a help
  551. message occupying the first 12 lines of your screen display pops up.  Here's
  552. one way you could combine two of Vocal-Eyes' voice features to make this help
  553. screen more user interactive.
  554.  
  555. First, enter the F1 key into your key label dictionary.  Make it say "Help." 
  556. Now, construct a screen window to read the first 12 lines of your PC's
  557. screen.  For our example we'll use Window 9 to do this.  Next, enter the
  558. Voice Control Panel's Cursoring submenu.  Cursor down until you find a key
  559. you've left undefined or don't plan on using.  If the current cursor key is
  560. indeed a key you don't plan to add a voice feature later, then stop here and
  561. press the F1 key.  Notice that now the menu says F1 and then announces the
  562. current voice assignment.  Press the SPACE BAR or the BACKSPACE key enough
  563. times to reach Speak Window.  Press ENTER followed by 9.  Now, press ESCAPE
  564. several times or ALT-X once to return to your application.
  565.  
  566. Press your F1 help key now.  What happened?  Did Vocal-Eyes say "Help" and
  567. then voice your entire help screen?
  568.  
  569. As you can see, combining the key labels with the cursoring voice features
  570. can lead to some pretty powerful keystrokes.  Try combining features in ways
  571. that will most help you.  Be sure to save your changes to disk so they'll
  572. still be there the next time you run Vocal-Eyes.
  573.  
  574. 11.4:  THE DIFFERENCE BETWEEN THE CHARACTER AND KEY LABEL DICTIONARIES
  575.  
  576. It may not be clear at first exactly what is the difference between the
  577. character and key label dictionaries.  Well, we hope the following will help.
  578.  
  579. First, the Key label dictionary is only used when you physically press a key
  580. on the keyboard.  Although you can define all keys including the letters A-Z
  581. and numbers 0-9, normally you would only define the nonstandard keyboard keys
  582. such as the function keys F1-F12 or the HOME, END, DELETE etc.  Make them
  583. speak what makes sense in your current application.
  584.  
  585. The character dictionary unlike the key label dictionary is used for
  586. characters typed from the keyboard as well as those printed to the screen. 
  587. Or when you go in Review Mode and review a character.  Vocal-Eyes will always
  588. substitute the message you supplied every time it is requested to speak a
  589. character in your character dictionary.  This is mainly used for extended or
  590. control characters.  These characters display some sort of symbol or figure
  591. on the screen.  Each application may use these figures for different
  592. meanings.  If the built in generic message is not good enough, why not make
  593. it speak something logical for the current application instead?
  594.  
  595. Feel free to experiment with both of these buffers.  In section 15, you will
  596. learn some good ways of putting these dictionaries to work for you.
  597.  
  598. 11.5:  SUMMARY
  599.  
  600. This section covered the character and key label dictionaries.  You learned
  601. how to increase the default buffers for each of these as well.  You can now
  602. load and/or clear the buffers from the files submenu as well as from the
  603. command line.
  604.  
  605. You were even shown how to combine these features with other Vocal-Eyes
  606. features.  If you would like to know more of how to put the commands and
  607. features talked about so far together, read on.
  608.  
  609.