Page 1 of 1
Macro question
Posted: Sun May 27, 2012 10:18 am
by HIGH5
Hey guys,
I need a macro that will press the "1" key two times very fast.
I didn't understand the tut, so can someone simplify it

Re: Macro question
Posted: Mon May 28, 2012 9:04 pm
by Matlo
Could you please tell us what you don't understand?
Re: Macro question
Posted: Mon Jun 04, 2012 4:00 pm
by HIGH5
I need the macro to press the "1" key two times whenever I press it.
How to do the macro code?
Code: Select all
#Defines the action that triggers the macro execution
MACRO 1
#Performs a keystroke (key down + delay 50ms + key up)
KEY 1
#Sleep 50ms
DELAY 50
#Perform a key down
KEYDOWN 1
KEYUP 1
Re: Macro question
Posted: Mon Jun 04, 2012 4:50 pm
by Matlo
You have to use two different keys: one as the trigger and the other as the action event.
You also have to add a delay between a KEYDOWN and a KEYUP for the same key.
Code: Select all
#Defines the action that triggers the macro execution
MACRO 1
KEY 2
DELAY 100
KEY 2
Replace 1 with 2 in your config file, and adjust the delay to your liking.