toxic Posted July 13, 2008 Share Posted July 13, 2008 You them boxes like username, password and all them boxes where you type, i wanna make autoIT do that for me using a browser i made my program open 1 internet explorer page then navigate to the site but it wont put my username and password in and click login can someone help me on how to set values in internet explorer muttley please i code in vb6 but moved to something harder please help me Link to comment Share on other sites More sharing options...
toxic Posted July 13, 2008 Author Share Posted July 13, 2008 this is code i got #include<IE.au3> $oIE = _IECreate("http://www.bebo.com/m/signout?") _IENavigate($oIE,"http://www.bebo.com/m/signin") $oForm = _IEFormGetCollection($oIE, 0) $oUser = _IEFormElementGetObjByName($oForm, "u") $oPass = _IEFormElementGetObjByName($oForm, "p") _IEFormElementSetValue($oUser, $Username) _IEFormElementSetValue($oPass, $Password) _IEFormSubmit($oForm) Link to comment Share on other sites More sharing options...
toxic Posted July 13, 2008 Author Share Posted July 13, 2008 anyone wanna help me . . . Link to comment Share on other sites More sharing options...
TerarinKerowyn Posted July 13, 2008 Share Posted July 13, 2008 Your forgetting $Username and $Password on that script. $Username = "Something" $Password = "Something" Here is a script that will work for Bebo #include <IE.au3> $Username = "Something" $Password = "Something" $oIE = _IECreate("http://www.bebo.com/m/signout?") _IENavigate($oIE,"http://www.bebo.com/m/signin") $oForm = _IEFormGetCollection($oIE, 0) $oUser = _IEFormElementGetObjByName($oForm, "u") $oPass = _IEFormElementGetObjByName($oForm, "p") $oLogin = _IEFormElementGetObjByName($oForm, "login") _IEFormElementSetValue($oUser, $Username) _IEFormElementSetValue($oPass, $Password) _IEAction($oLogin, "click") Contact via MSN: [email=terarink_msn@hotmail.com]terarink_msn@hotmail.com[/email], yahoo: terarink_yah 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