CyNDeR Posted November 8, 2007 Share Posted November 8, 2007 Just learning the IE functions a little better. #include <IE.au3> $Email = "" ;Your e-mail address $Pass = "" ;Your password $oIE = _IECreate("http:\\www.facebook.com") ;Open Facebook website WinSetState("Facebook | Welcome to Facebook!", "", @SW_MAXIMIZE) ;Maximize the window $LoginForm = _IEFormGetObjByName($oIE, "loginform") ;Find login form $EmailBox = _IEFormElementGetObjByName($LoginForm, "email") ;Find e-mail input box $PassBox = _IEFormElementGetObjByName($LoginForm, "pass") ;Find password input box _IEFormElementSetValue($EmailBox, $Email) ;Fill in your e-mail address _IEFormElementSetValue($PassBox, $Pass) ;Fill in your password _IEFormSubmit($LoginForm, 0) ;Submit the form My scripts: Random Painter Link to comment Share on other sites More sharing options...
JustinReno Posted November 8, 2007 Share Posted November 8, 2007 (edited) I believe there has been a whole UDF made for Facebook, I think by Generator. Good script though. And the comments are nice. Edited November 8, 2007 by JustinReno Link to comment Share on other sites More sharing options...
CyNDeR Posted November 8, 2007 Author Share Posted November 8, 2007 I believe there has been a whole UDF made for Facebook, I think by Generator. Good script though. And the comments are nice.Hmm, i'll have to check it out, i havent seen it. I pretty much just made this to help myself and others learn a little about the IE functions, hence the comments. My scripts: Random Painter 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