C
C
cataclysm882021-05-20 21:54:57
autohotkey
cataclysm88, 2021-05-20 21:54:57

How to make a set of numbers in sequence up to 1000 in AutoHotKey?

Let's say I have a code:
F1::
{
SendInput, 1, hello {Enter}
}
Return

And it needs to be written like this:
1, hello
2, hello
3, hello

And so on up to 1000.
It is with numbers at the beginning and with comma. How to do it? Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ttlscr, 2021-05-20
@cataclysm88

F1::
{
  Loop, 1000
  {
    SendInput, %A_Index%, привет{Enter}
    Sleep, 100
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question