counting script
-
- Posts: 2
- Joined: 15 Apr 2020, 21:45
counting script
Ok so I am pretty new to this, and I was wondering if anyone would make a script that would count starting from 1 and go to 1000 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: counting script
Code: Select all
!a:: ; press Alt+a to start
Loop, 10 ; change this to 1000 after testing
{
ToolTip % A_Index ; show counter
Sleep 15*1000 ; wait 15s
Send, %A_Index% {Enter} ; add the number + press Enter
ToolTip
}
SoundBeep ; Make some noise
Return
Last edited by BNOLI on 16 Apr 2020, 04:50, edited 1 time in total.
Remember to use [code]CODE[/code]-tags for your multi-line scripts. Stay safe, stay inside, and remember washing your hands for 20 sec !
-
- Posts: 2
- Joined: 15 Apr 2020, 21:45
Re: counting script
Hey so the script worked for the most part, but when it went to type the number it actually made a box with the number inside and didn't actually type the number. (sorry if that came off as rude)BNOLI wrote: ↑15 Apr 2020, 22:07Code: Select all
!a:: ; press Alt+a to start Loop, 10 ; change this to 1000 after testing { ToolTip % A_Index ; show counter Sleep 15*1000 ; wait 15s Send, {Enter} ; pressing Enter key ToolTip } SoundBeep ; Make some noise Return
Re: counting script
I've edited the initial code. Try again
Remember to use [code]CODE[/code]-tags for your multi-line scripts. Stay safe, stay inside, and remember washing your hands for 20 sec !
Re: counting script
could you do something like, custom the number where you want to start of?, hard time finding it