Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
* Do this line once only, at the start of your program
DECLARE Sleep IN WIN32API INTEGER iPeriod
* Do this line once only, provided owsh stays in scope
oWSH = CREATEOBJECT("wscript.shell")
* Do this at the point that you want to send keys to the browser:
*( assume that Chrome is already loaded and ready to receive the keys)
owsh.AppActivate("chrome")
Sleep(500) && short pause
lcKeys = "[URL unfurl="true"]www.tek-tips.com"[/URL] && these are the keystrokes you want to send
owsh.Sendkeys(lcKeys)
oIE = CREATEOBJECT("internetexplorer.application")
oIE.navigate("[URL unfurl="true"]https://www.tek-tips.com/login.cfm")[/URL]
oIE.visible=.t.