epicfail Posted September 17, 2009 Share Posted September 17, 2009 hi how do i change this IE.au3 code to work with the FF.au3 $oIE = _IECreate ("http://www.mysite.com") $HWND = _IEPropertyGet($oIE, "hwnd") WinSetState($HWND, "", @SW_MAXIMIZE) _IELoadWait ($oIE) $oform = _IEFormGetObjByName($oIE, "formName") $oQuery = _IEFormElementGetObjByName($oform, "email") $o_Query = _IEFormElementGetObjByName($oform, "pass") $username = GUICtrlRead($Input1) $password = GUICtrlRead($Input2) _IEFormElementSetValue($oQuery, $username) _IEFormElementSetValue($o_Query, $password) _IEFormSubmit ($oForm) Link to comment Share on other sites More sharing options...
epicfail Posted September 17, 2009 Author Share Posted September 17, 2009 (edited) dont worry i think i have worked it out. #Include <FF.au3> $username = GUICtrlRead($Input1) $password = GUICtrlRead($Input2) _FFStart("www.mysite.com") $emailinput = _FFObjGet("email", "name") $passwordinput = _FFObjGet("pass", "name") _FFObj($emailinput, "value", $username) _FFObj($passwordinput, "value", $password) _FFFormSubmit("formName", "name", "submit") Edited September 17, 2009 by epicfail Link to comment Share on other sites More sharing options...
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