Hello!
I want to write a script that will write an increasing value to a file. The script code is in the attachments.
It works, but the hotkey works twice. When a hot key is pressed once, the value 2 will be written to the file, not 1.
Where did I make a mistake?
I want to write a script that will write an increasing value to a file. The script code is in the attachments.
It works, but the hotkey works twice. When a hot key is pressed once, the value 2 will be written to the file, not 1.
Where did I make a mistake?