New
#1
In Need of a batch file command
So, I need a command for batch files, or other things that a batch file can link to, that selects another window, say a text window(notepad) and then can be typed into.
I've used the vbs scripting with
Set oShell = CreateObject("WScript.Shell")
oShell.AppActivate "Window name"
oShell.SendKeys "text~"
but it will get screwy if you are using the computer, it activates, and you activate a window other than in the vbs, and it sselecs everything, or does something. I need something that links to it, not "select it" like with a mouse click. I thank anyone who can help, even if the vbs is the only way.
Last edited by WinJake; 07 Mar 2014 at 22:03.