J
JohnLa
Guest
I'm stumped. I'm trying to use the VBS SendKeys macro to operate IE 11. First, I start IE as follows from the command prompt:
START "Internet Explorer" "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http:\\www.msn.com"
Then, in VBS, I issue:
Set shell = CreateObject("WScript.Shell")
shell.appActivate "Internet Explorer"
shell.sendKeys "%"
but alas, it does not work. I've also attempted "iexplore.exe", and the iexplore.exe ProcessId, as alternative parameters to appActivate. Also, these do not work.
Other competitor's browsers (Firefox, Firefox ESR, Chrome, and Opera) seem to work correctly(with accommodations).
Thanks in advance for any insight you may be able to provide.
More...
START "Internet Explorer" "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "http:\\www.msn.com"
Then, in VBS, I issue:
Set shell = CreateObject("WScript.Shell")
shell.appActivate "Internet Explorer"
shell.sendKeys "%"
but alas, it does not work. I've also attempted "iexplore.exe", and the iexplore.exe ProcessId, as alternative parameters to appActivate. Also, these do not work.
Other competitor's browsers (Firefox, Firefox ESR, Chrome, and Opera) seem to work correctly(with accommodations).
Thanks in advance for any insight you may be able to provide.
More...