home *** CD-ROM | disk | FTP | other *** search
/ Utilities Platinum / Windows_Utilities_Platinum_Vol1.iso / desktop / hk10 / hk.doc < prev    next >
Text File  |  1993-09-11  |  7KB  |  113 lines

  1. HK.EXE (VERSION 1.0)                         Copyright (c) Douglas Boling
  2. -------------------------------------------------------------------------
  3.               First Published in PC Magazine October 12, 1993 (Utilities)
  4. -------------------------------------------------------------------------
  5. Fire Up Windows Programs Fast with HK.EXE BY DOUGLAS BOLING
  6.  
  7.            HK.EXE is a Windows 3.1 utility that lets you assign hotkeys
  8. to your programs with a much wider range of possible keystrokes than
  9. Program Manager. You can also use hotkeys to launch applications without
  10. switching to the Program Manager first. 
  11.  
  12.      Do you find it tedious to grope for a mouse, open a group, and then
  13. locate and double-click on an icon just to get to an application you want
  14. to launch? If so, it must be all the more irritating to know that it's
  15. quite possible for a keyboard veteran to have a program up and running
  16. before you even start todouble-click.
  17.  
  18.      Microsoft provided a way to assign hotkeys to applications in
  19. Microsoft Windows 3.1's Program Manager, but this support is inadequate
  20. in several ways. For one thing, unless the Program Manager has the
  21. current focus, Microsoft's hotkeys won't actually launch the application;
  22. they take effect only if the program has already been started.
  23. For another, the allowable hotkey combinations you can employ are
  24. severely limited.
  25.  
  26.      HK.EXE, a Windows 3.1 utility, solves both these problems. With HK,
  27. pressing the hotkey brings up your application even if it is not yet
  28. running. And HK offers a much wider selection of possible keystrokes
  29. to use for hotkeys than the Program Manager. Configuring HK to implement
  30. your hotkey selections is simplicity itself.
  31.  
  32.      If you want to modify and compile HK's C language souce code, you'll
  33. need either Microsoft's C 6.0 or Borland's C++ 3.1 (or a compatible)
  34. compiler, and if your compiler does not already include the files needed
  35. for compiling a Windows 3.1 program, you'll also need the Windows 3.1
  36. Software Development Kit. We've included a make file for the Microsoft
  37. C 6.0 compiler; if you use another compiler, you'll have to refer to
  38. its manual for the proper syntax.
  39.  
  40. USING HK
  41.  
  42.      You install HK simply by copying or unzipping its files into a
  43. subdirectory and then adding an icon for it in the Program Manager, just
  44. as you would with any other Windows program. Since you'll probably want
  45. the program to be running all the time, you'll most likely want to drag
  46. its icon into the Startup group window; in this case, you'll want to
  47. check the Run Minimized box in the Program Item Properties dialog box
  48. to ensure that HK is started as an icon.
  49.  
  50.      To assign a hotkey to an application, just bring up HK by entering
  51. its pathname in the File|Run menu of the Program Manager, or by
  52. double-clicking on its icon there or on the desktop. You'll then see
  53. a  dialog box that contains a list of the current hotkeys and a set of
  54. buttons down the right side.
  55.  
  56.      To add a new hotkey, click on the Add button. HK will bring up a
  57. dialog box with two entry fields. The first is for the program name and
  58. any additional command line parameters. If the program file is in your
  59. Windows directory or in a directory in your path, the program name alone
  60. will suffice. Otherwise you'll need to enter the complete drive, path,
  61. and filename for the application. If you can't remember the program's
  62. location, clicking on the Browse button will present you with a file
  63. selection box that will ease your search.
  64.  
  65.      After filling in the command line, click on or tab over to the
  66. hotkey entry field and press the hotkey combination you want to assign
  67. to this program. The names of the keys you press will be displayed as
  68. you press them: For example, if you press the H key while holding down
  69. the Shift and Ctrl keys, the box will display ``Shift + Ctrl + H''.
  70.  
  71.      Then click on the Add button in the Add dialog box to save your
  72. program and your hotkey selection. (Clicking on the Cancel button will
  73. close the Add dialog without saving the new hotkey selection.)
  74.  
  75.      Almost any shift combination, along with a letter, number, or other
  76. symbol, is allowed, with the following exceptions: You cannot use
  77. combinations (such as Alt-Esc) that are used by Windows as systemwide
  78. command keys, and you cannot select any combination that uses the Tab key.
  79. You should use your freedom in assigning hotkeys carefully, however, for
  80. hotkey settings override all the accelerator keys in all your Windows
  81. applications. For example, if you assign Alt-F to the Windows Notepad,
  82. you'll no longer be able to display the File menu in any Windows
  83. application. And if you use ProComm in a DOS box, don't use HK to assign
  84. its exit key combination (Alt-X) to another program, or you won't be able
  85. to get out of your communications session!
  86.  
  87.      After you add a hotkey, HK will display it, along with its program
  88. name, in the HK list box. You can delete a hotkey by selecting it on the
  89. list and clicking on the Del key; this will disable the hotkey and remove
  90. it permanently from the list. Note that if the application associated
  91. with a deleted hotkey is currently running, HK will disable the hotkey,
  92. but it will not terminate the application.
  93.  
  94.      You can edit a hotkey combination by selecting the hotkey in the
  95. list box and clicking on the Change button, or else by double-clicking
  96. on the hotkey selection. A dialog box similar to the Add dialog box will
  97. be presented, its fields filled in with the current settings for that key.
  98. Both the command line and the hotkey can be changed at this point. To put
  99. your changes into effect, press the Change button again; to discard the
  100. changes, click on the Cancel button.
  101.  
  102.      The remaining two buttons in the HK window are the About and Exit.
  103. Clicking on the About button displays information about the program
  104. version, the copyright notice, and the author's name. Pressing the Exit
  105. button ends HK. Note that when you terminate HK, the hotkey combinations
  106. for programs not already started are disabled, but you can still use the
  107. hotkeys for applications that were started with HK. All of your assigned
  108. hotkey settings are saved in a file (HK.INI) so that they will
  109. automatically be restored the next time you start it up.
  110. -----------------------------------------------------------------------
  111. DOUGLAS BOLING IS A CONTRIBUTING EDITOR TO PC MAGAZINE.
  112. -----------------------------------------------------------------------
  113.