Hello,
i need help for a small script. I think its not difficult, but i its not working. Here is my code:
Numpad0::
Send {Numpad1 down}
Sleep 10
Loop 30
{
Send {RButton down}
Sleep 60
}
Send {RButton up}
Send {Numpad1 up}
Return
#::ExitApp ; schließt das Skript bei Drücken von Win (="#")
Every time when the Button Numpad1 is pressed then the RButton from the mouse should be pressed and hold for 2 seconds, BUT after a very short waiting time, for ... 0,2 second. This dont work.
I would be thankful for any help.
Regards
Small script for testing Topic is solved
Re: Small script for testing Topic is solved
Hallo,
I assume you want this:
I assume you want this:
Code: Select all
~*Numpad1::
Sleep, 200
Send {Blind}{RButton Down}
Sleep, 2000
Send {Blind}{RButton up}
Return
#::ExitApp ; schließt das Skript bei Drücken von Win (="#")
Re: Small script for testing
thanks, you think i dont need a loop ? Its not auto repeating, i have read the tutorial. But i have tested it, and it works.
1. Press Numpad 1
2. wait 0,7 second (better value)
3. Press and hold Numpad 3 for 2 seconds
1. Press Numpad 1
2. wait 0,7 second (better value)
3. Press and hold Numpad 3 for 2 seconds
Who is online
Users browsing this forum: No registered users and 56 guests