home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
hotkey01.zip
/
JUMPKEY.TXT
< prev
next >
Wrap
Text File
|
1997-11-21
|
3KB
|
59 lines
Contents:
1 <no topic>
2 hoptdll32.c-a and hotdll32.a-s * Binary *
============================= Begin Part 1 ==============================
>>Is there a way for me to hex edit and patch jumpkey/2 so it will
>>use ctrl-alt key combinations instead of ctrl-shft ??
I looked into the code and I think you should be able to get into it if
you have a good binary editor. Use the editor on HOTDLL32.DLL. Search for
the string JUMPKEY.INI. Not far after this is the table with the key
values. I see the table strarting at offset 03f40x Each two-byte value in
the table represents a single key. The first byte is the shift-key
bitflag, and the second byte is the key scancode. The bits for the shift
keys are:
ALT=1
CTRL=2
SHIFT=4
The table entries are ordered just like the list of keys. You'll see a
pattern of several 00xx, followed by many 01xx combinations (these are
the alt-xxxx), followed by some 00xx, then 02xx (ctrl-xxxx), 04xx
(shift-xxxx) and then finally 06xx (these are the ctrl-shift keys). Try
changing the 06xx to 03xx. This will change any of the ctrl-shift-xxxx to
ctrl-alt-xxxx. (03xx = ctrl-alt; 05xx = alt-shft) Jumpkey searches the
table for a match, and then has another table with the jump session titles
you configured. To save you the trouble, I coded the change and compiled
it. Attached you'll find a zip file with two modified DLLs, hotdll32.a-s
and hotdll32.c-a . The a-s version uses alt-shift instead of ctrl-shift. The
c-a vsersion uses ctrl-alt instead of ctrl-shift. Just rename the one you
want to use to hotdll32.dll. The configuration dialog still will indicate
ctrl-shift, and I bet the configuration panel itself will not work, so
you had better configure before you use one of these DLL's
>>Any chance you will write programs necessary for jumping out of full
screen dos and windows apps?
<<
Not likely. I tried this a few years ago and I never got it working
right. I usually use Windows NT now, and I have a version of JumpKey
coded for it as well. NT provides a better hook mechanism, so there is no
fullscreen problem.
I have submitted the NT version (runs on 95 as well) to the IBM DevCon CD
folks. Perhaps they will make it available soon. I'll send you a copy by
mail if you are interested.
Tom Link
======================= End Part 1 / Begin Part 2 =======================
Topic: hoptdll32.c-a and hotdll32.a-s
Format: BINARY FILE
Name: HOT.ZIP
% Part 2 is binary
============================== End Part 2 ===============================