Code: Select all
pwb2 := (ComObjCreate("InternetExplorer.Application")).Visible:=True
;...
pwb2.SendKeys("{!n}")
pwb2.SendKeys("{Alt n}")
pwb2.SendKeys("!n")
What is the correct format for sending Alt+N?
Code: Select all
pwb2 := (ComObjCreate("InternetExplorer.Application")).Visible:=True
;...
pwb2.SendKeys("{!n}")
pwb2.SendKeys("{Alt n}")
pwb2.SendKeys("!n")
Thanks.I search https://docs.microsoft.com/en-us/previo ... 3(v=vs.85) and get following result:swagfag wrote:https://docs.microsoft.com/en-us/previo ... 3(v=vs.85)
ie com doesnt implement a method called SendKeys()
Code: Select all
wsh := ComObjCreate("WScript.Shell")
wsh.SendKeys("some keys{Enter}")
idk, probably not, it doesnt appear to beIs there a way to send keys to the ComObject?