kokyo Posted August 29, 2007 Share Posted August 29, 2007 It's "https://secure.logmein.com/home.asp?lang=en", there's a login button "Log Me In" in the up-right area. It seems no name, alt, and image. I can re-write it in the very simple code with the same function in below, adding the name "SignIn" to be click by "_IEAction". By the way, how to click it by original code? <form name="login" method=post action="https://secure.logmein.com/logincheck.asp?action=checkpw"> <input type="hidden" name="ltmpl"> <input type="hidden" name="ltmplcache"> <input name="email" type="text"> <input name="password" type="password"> <input type="submit" name="signIn" value="Log Me In" > </form> Link to comment Share on other sites More sharing options...
Generator Posted August 29, 2007 Share Posted August 29, 2007 An example would be... $oSubmit=_IEGetObjByName("submit",$oIE) _IEAction($oSubmit,"click") Or get the collection of form and use _IEFormSubmit() Link to comment Share on other sites More sharing options...
kokyo Posted August 29, 2007 Author Share Posted August 29, 2007 An example would be... $oSubmit=_IEGetObjByName("submit",$oIE) _IEAction($oSubmit,"click") Or get the collection of form and use _IEFormSubmit() _IEFormSubmit works and easy. Thanks a lot. 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