Hello,
i have used the search function here, what i want is a macro which automatically presses the Numpad3, every 4 seconds. The code i have found is here:
#^::
Loop 3000
{
Send {Numpad3 down}
Sleep 4000
Send {Numpad3 Up}
}
#::ExitApp ; schließt das Skript bei Drücken von Win (="#")
Its not working and i don' t know why, can someone help me?
regards
Keypress auto repeat
Re: Keypress auto repeat
the piece of code above holds Num3 for 4s, then releases it and pretty much immediately starts holding it again. Rearrange the Sleep to achieve the desired effect
Re: Keypress auto repeat
Hey thanks but thats not the solution i think. I have tried something out, i think i wrote Numpad3 wrong. Have a look:
#-::
Loop 3000
{
Send {Numpad3 down}
Send {Numpad3 Up}
Sleep 5000
}
#::ExitApp ; schließt das Skript bei Drücken von Win (="#")
Nothing happens
#-::
Loop 3000
{
Send {Numpad3 down}
Send {Numpad3 Up}
Sleep 5000
}
#::ExitApp ; schließt das Skript bei Drücken von Win (="#")
Nothing happens
Who is online
Users browsing this forum: No registered users and 46 guests