I'm trying to write a script that will type something every x seconds, but only to a specific window. I'm new to scripting so I'm not sure if this is even possible. I have the part written to type something every x seconds, I just need something that will make it only type to a specific window. This is what I'm using.
F1::pause, toggle
F2::
Loop,
TypeWords:
Loop
{
SendInput {!}work{Enter}
Sleep 1000
}
return
Script that writes to a specific window
-
- Posts: 1472
- Joined: 05 May 2018, 12:23
Re: Script that writes to a specific window
ControlSend is Your Friend!
Re: Script that writes to a specific window
Thanks! Do you know how exactly I would incorporate that in the code I already have? And how would I specify the name of the window?