lostowl Posted July 18, 2010 Posted July 18, 2010 i made a login script for IE and i trying to make the samething for firefox but after 3 hours im spent. can someone help me or have a script to share this my IE script #include <IE.au3> $user = "joe02893" $pass = "xxxxx" $oIE = _IECreate ("https://") _IELoadWait ($oIE) $uForm = _IEFormGetObjByName ($oIE, "login_form") $uText = _IEFormElementGetObjByName ($uForm, "email") _IEFormElementSetValue ($uText,$user) $pText = _IEFormElementGetObjByName ($uForm, "pass") _IEFormElementSetValue ($pText,$pass) _IEFormSubmit ($uForm) _IENavigate ($oIE, "http://www.autoitscript.com/forum/index.php?") and this ff script i try to make #include <FF.au3> _FFStart("https://") ; open FF with the secure website If _FFIsConnected() Then _FFFormOptionselect ([$vElement = name ], "login_form") _FFSetValueByName("email", "joe02893") ; sets the username ; id from the html-input e.g. <input type='text' id='the_id_of_the_input' name='name_of_the_input' ...> ; or _FFSetValueByName - depending on the input _FFSetValueByName("pass", "xxxxxxx") _FFFormSubmit() ; submits the first form on the page and waits while the page is loading _FFOpenURL("https:") ; open the page and waits while the page is loading ; ... the same procedure like above EndIf i even try this autologin but it dont work for me #include <FF.au3> #include "_FF_AutoLogin.au3" _FFStart("https://") If _FFConnect() Then _FF_AutoLogin("joe02893", "xxxxx", "https://") EndIf please help me figure this out thankyou for your time
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