Gui Add, Edit, w930 r1 vURL, https://autohotkey.com/boards/ Gui Add, Button, x+6 yp w44 Default, Go Gui Add, ActiveX, xm w980 h640 vWB, Shell.Explorer ComObjConnect(WB, WB_events) ; 连接WB事件到WB_events类对象. Gui Show ; 继续加载初始页面: ButtonGo: Gui Submit, NoHide WB.Navigate(URL) return class WB_events { NavigateComplete2(wb, NewURL) { GuiControl,, URL, %NewURL% ; 更新 URL 编辑控件. } } GuiClose: ExitApp