RunApp "
www."
//或者用 RunApp "IEXPLORE.EXE"
Delay 1000
Rem 選擇窗口
Hwnd = Plugin.Window.Foreground()
stemp=Plugin.Window.GetClass(Hwnd)
If stemp="IEFrame" then
MessageBox "接下來演示關(guān)閉網(wǎng)頁"
Call Plugin.Window.CloseEx(Hwnd)
Else
Delay 300
Goto 選擇窗口
End If
//或者用以下簡單方法
Delay 2000
Call Plugin.Web.Bind("WQM.exe")
Call Plugin.Web.Go("
www.")
Delay 2000
MessageBox "接下來演示關(guān)閉網(wǎng)頁"
Hwnd=Plugin.Web.GetHwnd()
Call Plugin.Window.Close(Hwnd)