How to create a simulation of pressing keys?

You need to write a simulation of keystrokes on the keyboard:
0001
Enter
0002
Enter
And so on from 0001 to 9999

enter>enter enter enter
There is an option to use code 9999 rows with each number...you can as it is easier to do?
April 7th 20 at 10:59
2 answers
April 7th 20 at 11:01
There is an option to use code 9999 rows with each number...you can as it is easier to do?

Discover the cycles, for example.
An example would be the finished code to me, I'm not particularly good at that. - zack87 commented on April 7th 20 at 11:04
@zack87, and, well, on the freelance. - Jayson_Von82 commented on April 7th 20 at 11:07
April 7th 20 at 11:03
AutoIT help you. Especially if not strong in C#.

Find more questions by tags C#