auto 发表于 2016-9-24 22:31:02

内嵌IE窗口如何跳转和弹出新窗口?

#include <IE.au3>
$Form1 = GUICreate("mcmd-systems", 1024, 768)
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE, 0, 0, 1024, 768)
_IENavigate($oIE ,"https://login.mcmd-systems.com/Account/LogOn?ReturnUrl=%2f")
$username = _IEGetObjByName($oIE ,"INPUT_USERNAME")
$password = _IEGetObjByName($oIE ,"Input_Password")
GUISetState(@SW_SHOWNORMAL)
$username.value = "username"
$password.value = "password"
While 1
      Sleep(1)
      If GUIGetMsg() = -3 Then Exit
WEnd
类似这样的代码,如果在登录验证通过后是关闭自己,然后弹出新窗口,好像AU3实现 不了
页: [1]
查看完整版本: 内嵌IE窗口如何跳转和弹出新窗口?