09-20-2008, 03:25 AM
Hello:
I'm trying to make a Macro
I need to know if a user presses two or three keys at the same time, for example "W" + "E" + "Y" it is not necesary to detect "shift key" , i have used a code posted here:
This is a hook, but that code only get one key status at the same time. Could you please help me?
Thank you!!
Regards
I'm trying to make a Macro
I need to know if a user presses two or three keys at the same time, for example "W" + "E" + "Y" it is not necesary to detect "shift key" , i have used a code posted here:
function nCode wParam KBDLLHOOKSTRUCT*h
FormatKeyString h.vkCode 0 &_s
out _s
ret CallNextHookEx(testkeyhook nCode wParam h)
This is a hook, but that code only get one key status at the same time. Could you please help me?
Thank you!!
Regards