C2H5OH
AutoIT Гуру
- Сообщения
- 1,473
- Репутация
- 333
Код:
#include <IE.au3>
$oIE = _IECreate("https://ru.4game.com/pointblank/play/?popupWidget=AuthPopupWidget")
$login = "filautdinov"
$pass = "12345678"
$oForm = _IEGetObjById($oIE, "guest_form")
$iLogin = _IEGetObjById($oIE, "AuthFormLogin")
_IEFormElementSetValue($iLogin, $login)
$iPass = _IEGetObjById($oIE, "AuthFormPassword")
_IEFormElementSetValue($iPass, $pass)
$oButton = _IEGetObjById($oIE, "jsLoginPopupWidget__SignIn")
_IEAction($iPass, 'focus')
_IEAction($iLogin, 'focus')
_IEAction($oButton, 'click')