I just purchased FastKeys. I am trying to use a shortcut, lets say the space bar, and then have whatever text/command automatically repeat every X seconds (until I press the shortcut button again, which should deactivate the loop).
For example, I want to:
- Press "Space", FastKeys writes "My name is James" every 14 seconds in perpetuity. When I hit "Space" again, the automation loop will stop.
- Press "H", FastKeys writes "Today is a good day!" every 25 seconds. And so on.
How do I do this?
Automating shortcuts to repeat?
-
- Posts: 1
- Joined: Jun 12th, ’22, 20:49
Set a shortcut (Type: Command):
Code: Select all
Running:=!Running
If Running
SetTimer, Start, -1
return
Start:
While (Running)
{
Send, My name is James
Sleep, 14000 ;14 seconds
}
Return