Jump to content

Recommended Posts

Posted

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

Posted

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')

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
×
×
  • Create New...