Jump to content

not clicking login


d0n
 Share

Recommended Posts

GUICtrlSetData($status, "Logging in...")
        $IE = _IECreate($Login_page)
        $Form = _IEFormGetCollection ($IE, 0)
        $Query = _IEFormElementGetCollection ($Form, 0)
        _IEFormElementSetValue ($Query, $username)
        $Query = _IEFormElementGetCollection ($Form, 1)
        _IEFormElementSetValue ($Query, $userpass)
        _IEFormSubmit ($Form)
        GUICtrlSetData($status, "Logged in, uploading info...")

not sure why it doens't click login

i am just trying to log into some forum

Link to comment
Share on other sites

GUICtrlSetData($status, "Logging in...")
        $IE = _IECreate($Login_page)
        $Form = _IEFormGetCollection ($IE, 0)
        $Query = _IEFormElementGetCollection ($Form, 0)
        _IEFormElementSetValue ($Query, $username)
        $Query = _IEFormElementGetCollection ($Form, 1)
        _IEFormElementSetValue ($Query, $userpass)
        _IEFormSubmit ($Form)
        GUICtrlSetData($status, "Logged in, uploading info...")

not sure why it doens't click login

i am just trying to log into some forum

Instead of _IEFormSubmit, get the Element using _IEformGetCollection/byname and then use _IEAction($WHATEVER,'click')

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...