View Full Version : Send Multiple Keys at once?
Paradoxium
05-22-2012, 01:34 PM
Is there a way to send multiple keys at once?
Try
KeyDown(17); //hold the control
KeyDown(16); //hold the shift
KeyDown(53); //hold the "s"
wait(randomrange(50,100));
KeyUp(17);
KeyUp(16);
KeyUp(53);
This would successfully send a "control+shift+s" then releasing them. Change the parameters for it to press other keys.
Paradoxium
05-22-2012, 02:12 PM
oh truee good looks thanks!
Zyt3x
05-22-2012, 02:17 PM
It's easier to use the built-in constants
VK_CONTROL is the control key
VK_SHIFT is the shift key
VK_E is the e key
and so on ;)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.