i need something like this:
label>start
press ctrl
wait>6
release ctrl
press up
wait>1
press down
wait>1
press up
goto>start
basically i wanna hold ctrl down for a few second then move up then down then face up and just repeate is there a command to hold down a keyboard key?but for some reason my code does not work at all
using keyboard keys
Moderators: Dorian (MJT support), JRL
using keyboard keys
if idiots rule the world then im the king!!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!
- Marcus Tettmar
- Site Admin
- Posts: 7393
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Yes, to hold down a keyboard key use Keybd_Event. Search this forum for "Keybd_Event" to find a number of examples.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?