Hello,
I am not a programmer (unless you count Commodore 64 Basic), but do have some experience with batch files and command line commands. I have been trying to create a batch file that will automatically enter into an open program (eClubLogic) a specific text entry and hit enter every 20 minutes. The program remains open 24/7, but has been having issues with timing out - this is my attempt to keep it from 'going to sleep' on us by having it routinely connect to the server. Thank you in advance for any help you can give me.
I did find the thread below, but don't understand how to get the text to populate in a program that's already open. Can I use a PID?
http://stackoverflow.com/questions/2457 ... mmatically
Thanks, Bob.
Enter text into already open program and hit enter
Moderator: DosItHelp
Re: Enter text into already open program and hit enter
Windows has no command tool on board that would be able to do so. You could do that using VBScript or JScript. See
https://msdn.microsoft.com/en-us/library/8c6yea83(v=vs.84).aspx
Note: Key strokes are always sent to the window that currently has the keyboard focus!
Regards
aGerman
https://msdn.microsoft.com/en-us/library/8c6yea83(v=vs.84).aspx
Note: Key strokes are always sent to the window that currently has the keyboard focus!
Regards
aGerman