Re: How to change the key combination of a program

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Stefan Mueller wrote:
I've a program (*.exe) which gets started just after the Windows logon
and which functionality I use. This program unfortunately uses the key
combination 'Ctrl + F5' to display an info message box. That's very
bad because I have another program where I really need the key
combination 'Ctrl + F5' and unfortunately the first program "wins" so
that if I use 'Ctrl + F5' the info message box appears.
Because the programmer of the first program doesn't offer any
possibility to change the key combination I'm trying to find a way to
change it by myself.

Here's my approach:
Somewhere in the program (*.exe) there must be some commands which
tell Windows what to do if someone uses the key combination 'Ctrl +
F5'. I'd like to edit that commands directly in the *.exe file (with
debug, hexedit, ...) so that not the key combination 'Ctrl + F5' is
used but e.g. 'Ctrl + F12'.
I think that should work but the problem is how to find the commands
which define this key combination.

I doubt you'd have much luck. Even if the program were disassembled it
would be difficult without comments for the code.

You might be able to disable Ctrl + F5 by using another program to define
that combo. Pegasus mentioned AutoIt, Hot Key Plus is another...
http://www.brianapps.net/hotkeyplus/

The problem is that if your misbehaving program is started after the program
used to define the combo it will likely grab it back. If it doesn't, there
is also the problem of defining what you want the combo to do...opening a
program is easy, doing something *within* a program is not.


--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico



.



Relevant Pages