drig0 Posted August 27, 2015 Posted August 27, 2015 (edited) hello, I'm here but once with a doubt.I'm doing a autologuin, I want the iexplorer hidden, until the whole process is ready. and show at the end.so I lack hide the window, because the rest is already ready, someone could give me a hand? #RequireAdmin #include <AutoItConstants.au3> #include <ie.au3> #include <MsgBoxConstants.au3> Example() Func Example() $oIE = _IECreate ("https://www.hotmail.com/Login?") WinSetState($oIE, "", @SW_HIDE) $oForm = _IEFormGetObjByName ($oIE, "login-form") $oQuery1 = _IEFormElementGetObjByName ($oForm, "email") $oQuery2 = _IEFormElementGetObjByName ($oForm, "password") $uname="teste@hotmail.com" $pwd="123123" _IEFormElementSetValue ($oQuery1,$uname) _IEFormElementSetValue ($oQuery2,$pwd) $oButton=_IEGetObjById($oIE,"login-form-contBtn") $oButton2=_IEGetObjById($oIE,"RememberMe") _IEAction ($oButton, "click") _IEAction ($oButton2, "click") WinSetState($oIE , "", @SW_SHOW) $iVisible = 1 sleep("5000") _IELoadWait($oIE,5) EndFunc Edited August 27, 2015 by drig0
JohnOne Posted August 27, 2015 Posted August 27, 2015 Look at the $iVisible parameter of _IECreate. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
drig0 Posted August 27, 2015 Author Posted August 27, 2015 Olhe para o parâmetro $ iVisible de _IECreate.I'm trying to use these parameters ..could give me a sample of how it should be?thank you
drig0 Posted August 27, 2015 Author Posted August 27, 2015 Look at the $iVisible parameter of _IECreate.error !! ---------------------------AutoIt Error---------------------------Line 21 (File "C:\rodrigo\pste\prototipe.au3"):$oIE = _IECreate ("https://www.hotmail.com/Login?" [$iVisible = 1])$oIE = _IECreate ("https://www.hotmail.com/Login?" ^ ERRORError: Subscript used on non-accessible variable.---------------------------Aceptar ---------------------------
JohnOne Posted August 27, 2015 Posted August 27, 2015 _IECreate ("https://www.hotmail.com/Login?", 0, 0) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
drig0 Posted August 27, 2015 Author Posted August 27, 2015 hmmmmm_IECreate ("https://www.hotmail.com/Login?", 0, 0)I understand, and to show again HOWTO?
JohnOne Posted August 27, 2015 Posted August 27, 2015 _IEAction($oIe, "visible") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
drig0 Posted August 27, 2015 Author Posted August 27, 2015 _IEAction($oIe, "visible")Thank you very very much sor
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now