03-05-2010, 01:18 AM
(This post was last modified: 03-05-2010, 01:20 AM by prasadworld321.)
How to activate a web browser and sendkeys for closing it?
i have written the script as follw
But it is not working.....
WORNING: no method like 'Activate' for web page
can anybody correct it??
Thanks
i have written the script as follw
Code:
Set WshShell = CreateObject("WScript.Shell")
Browser("name:=Google").Activate
wait(3)
WshShell.SendKeys ("%{F4}")
But it is not working.....
WORNING: no method like 'Activate' for web page
can anybody correct it??
Thanks