Hi, please can you help me with a script that presses a key an amount of time (between 1.5 and 3 seconds), release the key, and then press again after a set amount of time (2 seconds).
Thx.
Intermitent key press.
Re: Intermitent key press.
I'm not sure I get you, but try this script:
[hold down "a", wait 1.5 seconds, release "a", wait 2 seconds; repeat all]
Code: Select all
Loop ;; repeat stuff between "{" and "}"
{
SendInput, {a down} ;; hold "a" down
Sleep, 1500 ;; wait 1.5 sec
SendInput, {a up} ;; release "a"
Sleep, 2000 ;; wait 2 sec
}
F7::Exitapp
If you want another key, instead of "a"; replace it in "SendInput" for any of this key list:
https://autohotkey.com/docs/KeyList.htm
Hope it helps,
Re: Intermitent key press.
Thx man
Who is online
Users browsing this forum: Descolada and 106 guests