Make a macro key Topic is solved
Make a macro key
Can you guys help me? Cause im beginner and i dont know where to start, I want to make was a spam/macro key that will spam the Q,W,E,R and make a on and off of it. Please help me
Re: Make a macro key Topic is solved
Hallo,
try:Another method:
try:
Code: Select all
F4:: ;On/Off with key F4
If F4Active:=!F4Active
SetTimer Keys, -1
Return
Keys:
While, F4Active
{
Send, q
Sleep, 50
Send, w
Sleep, 100
Send, e
Sleep, 200
Send, r
Sleep, 100
}
Return
Code: Select all
F4:: ;On/Off with key F4
Keys = qwer
If F4Active:=!F4Active
SetTimer Keys, 250 ;250 ms delay between keys
Else
SetTimer Keys, Off
Return
Keys:
Counter := Mod(0 Counter,StrLen(Keys))+1
Send, % SubStr(Keys,Counter,1)
Return
Who is online
Users browsing this forum: No registered users and 84 guests