d0n Posted January 21, 2008 Posted January 21, 2008 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
Thatsgreat2345 Posted January 21, 2008 Posted January 21, 2008 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')
d0n Posted January 21, 2008 Author Posted January 21, 2008 (edited) ops nvm not working, gonna see if i can figure it out :S Edited January 21, 2008 by d0n
Thatsgreat2345 Posted January 21, 2008 Posted January 21, 2008 ok working now, thanks again Remember _IEAction does not initialize _IELoadWait so it will not wait for the page to load before continuing executing the next code.
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