The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PRESSING TWO OR MORE KEYS
#1
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:

Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)