View Single Post
  #7  
Old 05-26-2013, 18:12
trodas trodas is offline
Friend
 
Join Date: May 2009
Location: Czech republic
Posts: 65
Rept. Given: 11
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 26
Thanks Rcvd at 22 Times in 7 Posts
trodas Reputation: 3
Damn, I can't understand the thread now.

Av0id - interestinf links, however I have no real idea, how can help me out that I know, that, for example, this code do the F1 keypress:
Quote:
VK_F1, IDDCLEAR, VIRTKEY ; F1
VK_F1, IDDSTAR, CONTROL, VIRTKEY ; control F1
VK_F1, IDDELLIPSE, SHIFT, VIRTKEY ; shift F1
VK_F1, IDDRECT, ALT, VIRTKEY ; alt F1
Also it is great to know, that using the User32.dll can be handled by simple code, these keypreses in Win:
Quote:
#include "stdafx.h"
...
if (RegisterHotKey(
...
MOD_ALT | MOD_NOREPEAT,
0x42)) //0x42 is 'b'
...however chage the key in already compiled program is what I looking for. And this did not seems to provide any answer to me...


|roe - interesting keylogger idea, however I did not looking for that. Yet thanks for the good explaination on how this works on almost HW level.


RedBlkJck -
Quote:
I would think it would be hard coded in the app and not in the resources.
How can I make sure about this?

Quote:
Track down the KeyDown event and change the push value (key code) before it to the key code you want to use. Function keys shouldn't be a problem
Sounds fairly simple. Now I would like to start with very simple change and then move to more problematic one

Quote:
It could easily be located in the resources also.
If I opened the exe in ResHacker and search for the "shortcut" and find only strings like this:
Quote:
STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
...
167, "Creating shortcuts"
...then it is not in the resources, right?
Reply With Quote