DIAL.EXE and DIAL.HOO : (c)1991 by David E. Stewart This is a simple program ... my second entry in the CompuServe APORTFOLIO programming marathon. It is actaully TWO PROGRAMS IN ONE! (But I'll just count it as one entry.) This program will dial the phone through the Port's speaker, using either whatever number you type, or the number of a person in your address book. If you use this program as an editor hook, it will dial the number under the cursor in the editor. More on that after the DOS example. Note that both programs are the same; they just have different names. If you wish, just keep one program on your Port and rename it depending on whether you want to use it as an editor hook or as a DOS program. To use this as a DOS program, rename in DIAL.EXE and do any of the following: Type DIAL number, where number is a phone number without any other characters beside numerals, i.e. 5550123 Type DIAL name, where name is the name or parital name of someone in your current address book file (that is, the last file you saved using the address book program). The program will search for the first match and will dial the number associated with it. Upper and lower case matters, so be careful. However, it will match any part of the name. For example: DIAL avi ... would match and dial David Stewart's number. Finally, just type DIAL, and you'll be prompted for the information. That's it. To use it as an editor hook, name it DIAL.HOO and do the following: When it the built-in editor, move the cursor onto the first number of a phone number to dial. Hit Fn-6. Choose the DIAL.HOO program. The Port will dial the phone number, stopping when it reads two non-numeric characters in a row.