I need help for typing and entering script.
-
- Posts: 4
- Joined: 02 Dec 2022, 19:31
I need help for typing and entering script.
Ok so I am pretty new to this, and I was wondering if anyone would make a script that would count starting from any custom number and it will add 1 to that number. and after every number, it would press enter then wait 15 seconds and then repeat. Example (bc I suck at explaining things) So it would go like "1 <enter> {wait 15 seconds} 2 <enter> {wait 15 seconds}" and so on until 1000. If anyone would be able to help then it would be greatly appreciated
Re: I need help for typing and entering script.
Welcome to this AutoHotkey forum!
Code: Select all
n = 981
Loop {
Send % n++ "`n"
Sleep, 15000
} Until (n > 1000)
-
- Posts: 4
- Joined: 02 Dec 2022, 19:31
Re: I need help for typing and entering script.
I should be like auto typer but spams in accending numbers (1,2,3)mikeyww wrote: ↑02 Dec 2022, 20:04Welcome to this AutoHotkey forum!
Code: Select all
n = 981 Loop { Send % n++ "`n" Sleep, 15000 } Until (n > 1000)
-
- Posts: 4
- Joined: 02 Dec 2022, 19:31
Re: I need help for typing and entering script.
thanks it's working but can you please add select all before typing the new number. it should be like 1 {enter} wait 15seconds then ctrl+a 2 {enter}mikeyww wrote: ↑02 Dec 2022, 20:04Welcome to this AutoHotkey forum!
Code: Select all
n = 981 Loop { Send % n++ "`n" Sleep, 15000 } Until (n > 1000)
Re: I need help for typing and entering script.
Code: Select all
n = 996
end = 1000
Loop {
Send % (A_Index > 1 ? "^a" : "") n++ "`n"
Sleep, n > end ? 0 : 15000
} Until (n > end)
SoundBeep, 1000
-
- Posts: 4
- Joined: 02 Dec 2022, 19:31
Re: I need help for typing and entering script.
How can I add a custom url behind that ascending number, please helpmikeyww wrote: ↑02 Dec 2022, 20:04Welcome to this AutoHotkey forum!
Code: Select all
n = 981 Loop { Send % n++ "`n" Sleep, 15000 } Until (n > 1000)
Re: I need help for typing and entering script.
Code: Select all
n = 996
end = 1000
url = http://www.autohotkey.com/
Loop {
SendInput % (A_Index > 1 ? "^a" : "") n++
SendInput {Text}%url%`n
Sleep, n > end ? 0 : 15000
} Until (n > end)
SoundBeep, 1000