So Here is the code that I am using to open my Login page. It opens but does not populate with my login via 'sendkey' function. Is there a step I am missing? Thanks for all your help
<HTML>
<BODY>
<INPUT id=button1 name=button1 type=button value=Button>
<SCRIPT LANGUAGE="VBScript">
sub button1_onclick()
strProgramPath = "C:\AESEnginuity\Shared\BIN\AESEnginuity.exe"
set objShell = createobject("Wscript.Shell")
objShell.Run strProgramPath
WScript.Sleep 100
objShell.AppActivate.Focus "LAOCHMIS V.4.4.6.0", True
objShell.SendKeys "username{TAB}", True
WScript.Sleep 100
objShell.SendKeys "password{TAB}{TAB}{ENTER}", True
end sub
</SCRIPT>
</BODY>
</HTML>