Need help about ComObjCreate("InternetExplorer.Application")

Get help with using AutoHotkey and its commands and hotkeys
Bral
Posts: 16
Joined: 04 Apr 2015, 21:24

Need help about ComObjCreate("InternetExplorer.Application")

13 Jun 2018, 09:51

I use this code to visit https://www.xxx.com site

Code: Select all

pwb := ComObjCreate("InternetExplorer.Application")
pwb.Visible := 1
pwb.Navigate("https://www.xxx.com")
;....
pwb.document.getElementsByName("manage_check_flg")[0].Click()

MouseMove, 955, 675
Sleep, 500
MouseClick, left
msgbox, 123
when script click button "manage_check_flg ", this site show a alert dialog(Modal dialog), if i don't click "ok" button on alert dialog, my script will not continue run. mouse can't move, msgbox can't show. If i click "ok" button, msgbox will show.

How to let script auto click ok button and continue run without manual click?

Return to “Ask For Help”

Who is online

Users browsing this forum: avocado, Bing [Bot], Marcosa1020 and 186 guests