OnEvent>Key_Down,VK119,0,MainMacro
SRT>MainMacro
send>a
Wait>0.1
END>MainMacro
Label>IdleLoop
Wait>0.01
Goto>IdleLoop
whit that macro i can send XXX when i press F8
i want send XXX when i pres Control+F8
thanks for help
how can start a macro when i press Control+F8?
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 15
- Joined: Sat Dec 12, 2009 11:20 pm
You need to see Help for OnEvent> There you will find the following information about OnEvent> modifier keys.
0: No modifier key
1: SHIFT key must also be pressed
2: CONTROL key must also be pressed
3: ALT key must also be pressed
4: SHIFT + ALT keys must be pressed
5: CONTROL + ALT keys must be pressed
6 SHIFT + CONTROL keys must be pressed
7: CONTROL + ALT + SHIFT keys must also be pressed
8: Windows key must also be pressed
Based on this info, your OnEvent Line should look like this:
OnEvent>Key_Down,VK119,2,MainMacro
0: No modifier key
1: SHIFT key must also be pressed
2: CONTROL key must also be pressed
3: ALT key must also be pressed
4: SHIFT + ALT keys must be pressed
5: CONTROL + ALT keys must be pressed
6 SHIFT + CONTROL keys must be pressed
7: CONTROL + ALT + SHIFT keys must also be pressed
8: Windows key must also be pressed
Based on this info, your OnEvent Line should look like this:
OnEvent>Key_Down,VK119,2,MainMacro
-
- Newbie
- Posts: 15
- Joined: Sat Dec 12, 2009 11:20 pm