how can start a macro when i press Control+F8?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
luca1974wow
Newbie
Posts: 15
Joined: Sat Dec 12, 2009 11:20 pm

how can start a macro when i press Control+F8?

Post by luca1974wow » Fri May 13, 2011 3:49 pm

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

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri May 13, 2011 9:36 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

luca1974wow
Newbie
Posts: 15
Joined: Sat Dec 12, 2009 11:20 pm

Post by luca1974wow » Mon May 16, 2011 2:44 pm

yes i try if before make my post but i don't not why but don't work

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts