What happens when you click where you want the 1s to be written?
Type: Posts; User: Norm
What happens when you click where you want the 1s to be written?
Where on the screen is the output/focus where the 1s are being written?
Try clicking somewhere that would show the 1s. Open Notepad and click on different places on its screen and you should see...
What do you mean by "stops"? Can you explain in detail? The program exits?
How does the execution get out of the loop?
Are there error messages?
where is the input focus set to on the screen when the Robot presses the 1 key?
Where is it typing the 1s???
I know nothing about skills, autohealer, hotkeys etc
What keystrokes does the app you are trying to put input into require?
What keys do you press when you enter data into the app manually?
Add a statement inside the loop that calls the Thread class's sleep() method.
Experiment with different sleep times (say 50 to 500) and see what happens.
Try adding a call to sleep() with different values inside the loop to see if there is a timing problem.
What are the values of c1 and c2 as the loop executes? If they are not equal then press1() won't be called.