wsh - SendKeys not working in Windows 7 -
i using code in windows 7 ultimate , not working allow me sign in site. see wrong it?
set wshshell = wscript.createobject("wscript.shell") call wshshell.run("http://www.gmail.com", 1, false) wscript.sleep 2000 wshshell.sendkeys "username" wscript.sleep 1000 wshshell.sendkeys "{tab}" wscript.sleep 1000 wshshell.sendkeys "password" wshshell.sendkeys "{tab}" wscript.sleep 1000 wshshell.sendkeys "{enter}" wscript.quit()