scott257us
Technical User
Here is what I have and I am haveing no luck with it.
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "jde"
"jde" is a shortcut which connects to another server and runs a log-in screen I cannot access the window without clicking on each entry myself, can it be done with a script? If so I need help.
Wscript.Sleep 5000
objShell.SendKeys "password"
objshell.sendkeys "{TAB}"
objshell.sendkeys "{TAB}"
objshell.sendkeys "{ENTER}"
WScript.Quit
The above is the keystrokes I need to send but doesn't recognize the objshell, I tried AppActivation commands and still get nothing.
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "jde"
"jde" is a shortcut which connects to another server and runs a log-in screen I cannot access the window without clicking on each entry myself, can it be done with a script? If so I need help.
Wscript.Sleep 5000
objShell.SendKeys "password"
objshell.sendkeys "{TAB}"
objshell.sendkeys "{TAB}"
objshell.sendkeys "{ENTER}"
WScript.Quit
The above is the keystrokes I need to send but doesn't recognize the objshell, I tried AppActivation commands and still get nothing.