Need help about ComObjCreate("InternetExplorer.Application")

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Bral
Posts: 20
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 (v1)”

Who is online

Users browsing this forum: Google [Bot], joedf, OrangeCat, scriptor2016, supplementfacts and 131 guests