How to automate constantly pressing E until told to stop

Share your favorite FastKeys commands
Post Reply
AlienC
Posts: 1
Joined: Jul 15th, ’24, 00:04

Post by AlienC » Jul 15th, ’24, 00:09

Hi all new here great piece of software but no clue how to automate this task.

I require a certain letter to be pressed constantly basically spammed while I sleep.

What I need is the letter E on my keyboard constantly pressed like maybe 3 times a second to keep the program active.

How can I automate this indefinitely while I am away from keyboard.

Also is it possible to have a stop button so when I can cancel the automation at any time.

Thank you.

AlienC
User avatar
Tom
Posts: 849
Joined: Nov 24th, ’15, 23:39

Post by Tom » Jul 16th, ’24, 10:30

Set a new shortcut *Type> Command):

Code: Select all

SetTimer, Process, % (running := !running) ? "300" : "Off"  ;runs each 300ms, change as needed
Return

Process:
Send E
Return
Post Reply