home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / dos / key-fake.lzh / KEY-FAKE.DOC < prev   
Text File  |  1985-12-15  |  2KB  |  67 lines

  1.  
  2. Key-Fake is a utility for providing batch file processing of keystrokes
  3. immediately after entry into an application program.  For example, I use it to
  4. set my IBM Writing Assistant (TM) colors to the black on gray combination I
  5. prefer.  Immediately upon boot up, once the batch file stops processing and
  6. relinquishes control to the application, six Shift-Fn 3 keystrokes
  7. automatically set the screen colors.  The correct syntax is:
  8.  
  9.                        KEY-FAKE @86 @86 @86 @86 @86 @86
  10.  
  11. The @ symbol tells Key-Fake to use the extended keyboard characters and the 86
  12. is the second code listed in the keyboard extended functions table of the tech
  13. reference manual.  For the PC Jr, look at the Tech Reference Manual, page 5-
  14. 31, or look at the PC Jr Basic manual, page G-6.
  15.  
  16. Quoted strings can also be entered at the Key-Fake command:
  17.  
  18.                        KEY-FAKE @86 @86 @86 @86 @86 @86 "1" 13
  19.  
  20. The "1" types the quoted string on the screen and the 13 is the ASCII code for
  21. the Enter key.  Thus, in Writing Assistant, the colors are set, a 1 then enter
  22. are typed on the screen, taking the operator through the main menu straight to
  23. the type/edit mode.
  24.  
  25. Key-Fake does not work with everything.  If the program clears the keyboard
  26. buffer, enter a 0 as the first character:
  27.  
  28.                         KEY-FAKE 0 13 13
  29.  
  30. If this doesn't work, try some other combinations.  I've not been able to get
  31. it to work with Pop-ups (To set window colors) or Symphony.  But, there are
  32. many programs it does work with.
  33.  
  34. This program was obtained from the Dec 24, 1985 issue of PC Magazine.  I
  35. provide it with this brief explanation to show you it works.  However, to get
  36. the most out of it, obtain a copy of the magazine from your local library.
  37. Then read all the advertisements.  That should keep the publishers happy.
  38.  
  39. Credits:
  40.  
  41.   Charles Petzold--The real hero, he wrote the program and magazine article.
  42.  
  43.   Carlos M. Arnaldo--He is saving you some typing.
  44.  
  45.   Mark D. Doiron--That's me.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.