Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "SapLogon.exe"
wscript.Sleep 9000
WshShell.SendKeys "(^f)" WshShell.Sendkeys "r/3"
WshShell.Sendkeys "{ENTER}"
wscript.Sleep 6000
when i run this script from Task scheduler part sendkeys (^f)...
Hello
I need your help, i am trying to write code to start application (exe)already done that, but i need to make sure that cursor is placed in this application or make sure that proram window is active. Do you know how i can handle this.
Please advise
Thank you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.