home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / hotkey01.zip / JUMPKEY.TXT < prev    next >
Text File  |  1997-11-21  |  3KB  |  59 lines

  1. Contents:
  2.  
  3.  1 <no topic>
  4.   2 hoptdll32.c-a and hotdll32.a-s * Binary * 
  5.  
  6.   ============================= Begin Part 1 ==============================
  7.  
  8.   >>Is there a way for me to hex edit and patch jumpkey/2 so it will
  9.   >>use ctrl-alt key combinations instead of ctrl-shft ??
  10.  
  11.   I looked into the code and I think you should be able to get into it if
  12.   you have a good binary editor. Use the editor on HOTDLL32.DLL. Search for
  13.   the string JUMPKEY.INI. Not far after this is the table with the key
  14.   values. I see the table strarting at offset 03f40x Each two-byte value in
  15.   the table represents a single key. The first byte is the shift-key
  16.   bitflag, and the second byte is the key scancode. The bits for the shift
  17.   keys are:
  18.      ALT=1
  19.      CTRL=2
  20.      SHIFT=4
  21.   The table entries are ordered just like the list of keys. You'll see a
  22.   pattern of several 00xx, followed by many 01xx combinations (these are
  23.   the alt-xxxx), followed by some 00xx, then 02xx (ctrl-xxxx), 04xx
  24.   (shift-xxxx) and then finally 06xx (these are the ctrl-shift keys). Try
  25.   changing the 06xx to 03xx. This will change any of the ctrl-shift-xxxx to
  26.   ctrl-alt-xxxx.  (03xx = ctrl-alt; 05xx = alt-shft) Jumpkey searches the 
  27.   table for a match, and then has another table with the jump session titles 
  28.   you configured.  To save you the trouble, I coded the change and compiled 
  29.   it. Attached you'll find a zip file with  two modified DLLs, hotdll32.a-s 
  30.   and hotdll32.c-a . The a-s version uses alt-shift instead of ctrl-shift. The
  31.   c-a vsersion uses ctrl-alt instead of ctrl-shift. Just rename the one you
  32.   want to use to hotdll32.dll. The configuration dialog still will indicate
  33.   ctrl-shift, and I bet the configuration panel itself will not work, so
  34.   you had better configure before you use one of these DLL's
  35.  
  36.   >>Any chance you will write programs necessary for jumping out of full
  37.     screen dos and windows apps?
  38.   <<
  39.  
  40.   Not likely. I tried this a few years ago and I never got it working
  41.   right. I usually use Windows NT now, and I have a version of JumpKey
  42.   coded for it as well. NT provides a better hook mechanism, so there is no
  43.   fullscreen problem.
  44.  
  45.   I have submitted the NT version (runs on 95 as well) to the IBM DevCon CD
  46.   folks. Perhaps they will make it available soon. I'll send you a copy by
  47.   mail if you are interested.
  48.  
  49.                Tom Link
  50.  
  51. ======================= End Part 1 / Begin Part 2 =======================
  52.   Topic:  hoptdll32.c-a and hotdll32.a-s
  53.   Format: BINARY FILE
  54.   Name:   HOT.ZIP
  55.  
  56.   % Part 2 is binary
  57. ============================== End Part 2 ===============================
  58.  
  59.