AHK script to repeatedly type in a certain window?
Posted: 14 Apr 2024, 17:50
Hi all.
I need to create a script that will automatically type/press a key for me at a specific interval regardless of whether or not it's focused. I tried to take a stab at it but I got hopelessly lost because I haven't fiddled with AHK in months and have no prior coding knowledge.
All I need it to do is target a specific window and periodically (every minute or so) just input a key, like E, so that I am consistently typing something in chat overnight. It does not need to press enter otherwise I will just be posting lots of Es.
Can anyone help me out with this, if it's not too difficult a script? Thank you.
I need to create a script that will automatically type/press a key for me at a specific interval regardless of whether or not it's focused. I tried to take a stab at it but I got hopelessly lost because I haven't fiddled with AHK in months and have no prior coding knowledge.
All I need it to do is target a specific window and periodically (every minute or so) just input a key, like E, so that I am consistently typing something in chat overnight. It does not need to press enter otherwise I will just be posting lots of Es.
Can anyone help me out with this, if it's not too difficult a script? Thank you.