i have this auto typer here that someone made but i have no idea how to start it. if anyone could tweek the typer for me to make it easier to use that would be awesome. thank you for your time:)
string = hello
Time = 1000
Settimer, label, %time%
Return
Label:
Send %string%
Return
auto typer
Re: auto typer
A second after you run the script it should start typing "hello" at a rate of once a second.
Edit: The below script is started by pressing win + s, and stopped by the same hotkey.
Edit: The below script is started by pressing win + s, and stopped by the same hotkey.
Code: Select all
string := "hello"
time := 1000
toogle := 0
return
#s::
toogle := !toogle
if(toogle){
Settimer, Label, %time%
} else {
Settimer, Label, Off
}
Return
Label:
Send, %string%
Return
Please excuse my spelling I am dyslexic.
-
- Posts: 1259
- Joined: 16 Apr 2015, 09:41
Re: auto typer
Here's a version where you press F12 to start it, and Ctrl+F12 to stop it...
Code: Select all
F12::
string = hello
Time = 1000
Settimer, label, %time%
Return
Label:
Send %string%
Return
^F12::
SetTimer, label, Off
Return
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: auto typer
Here's a third version using expression syntax, F2 to toggle.
Code: Select all
string:="hello"
time:=1000
F2::setTimer,sendStr,% t:=!t?time:"Off"
sendStr:
send % string
return
Re: auto typer
these are all very helpful. but i forgot i needed it to press enter after it typed. if any of you guys could do that for me as i have never actually used ahk although im sure this is a very simple task. thank you very much for your time:)
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: auto typer
Change string:="hello" to string:="hello{enter}". Same applies to the other scripts.
Re: auto typer
how do I make it type two different things at different times?
Re: auto typer
is there a way to set CTRL+5 to toggle on and pause it? Then when I press CTRL+5 again the script will run and so on and so forth?Shadowpheonix wrote: ↑19 Apr 2016, 16:55Here's a version where you press F12 to start it, and Ctrl+F12 to stop it...Code: Select all
F12:: string = hello Time = 1000 Settimer, label, %time% Return Label: Send %string% Return ^F12:: SetTimer, label, Off Return
Who is online
Users browsing this forum: Google [Bot], Greg_Roberts, inseption86, Lamron750 and 180 guests