Mr. j Posted August 11, 2005 Report Share Posted August 11, 2005 Im trying to get Ctrl&3 to go off at same time but so far its always control then 3 <SPEED:0001><TEXTTYPE:<CTRL>3> thanks for the help Quote Link to comment Share on other sites More sharing options...
randallc Posted August 11, 2005 Report Share Posted August 11, 2005 Hi, -use this line to copy; <TEXTTYPE:<CTRL>3>> -use this line to readText Type: <CTRL>3> That's OK to send "control-3"; unless you mean in a game or something to trigger separate keys! -Good luck! Best, Randall Quote Link to comment Share on other sites More sharing options...
kevin Posted August 11, 2005 Report Share Posted August 11, 2005 Windows processes keys sequentially. When you hold the Control key down, press 3, and then release the keys, this is what is sent: Control key Down3 key Down 3 key Up Control key Up What is sent for each keystroke actually looks more like:keybd_event (VK_CONTROL, sc, ExtendKey (bVirtKey), 0); // Control key downkeybd_event (VK_CONTROL, sc, KEYEVENTF_KEYUP + ExtendKey (bVirtKey), 0) // Control key up Computers can only do one thing at a time. It just does them very fast. So it will always detect one key at a time. Having said all that, have you tried this: Control Key Down Text Type: 3 Control Key Up Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.