Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
idiot
- Macro Veteran
- Posts: 152
- Joined: Thu Mar 01, 2007 9:21 am
Post
by idiot » Fri Mar 09, 2007 3:30 pm
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

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!!!
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Fri Mar 09, 2007 3:45 pm
Yes, to hold down a keyboard key use Keybd_Event. Search this forum for "Keybd_Event" to find a number of examples.