ra95 Posted August 9, 2009 Share Posted August 9, 2009 Hi gui, i have tryed access in this forum http://avengersalliance.altervista.org/forum/index.phpCan you help me???My CodeUrlFF = "http://avengersalliance.altervista.org/forum/index.php" $Log = "name for login" $psw = "password for login" _IENavigate($oIE,$UrlFFL) _IELoadWait($oIE) $o_form = _IEFormElementGetCollection($oIE,0) _IEFormElementCheckboxSelect ($o_Form,"1","CookieDate","","",0) _IEFormElementCheckboxSelect ($o_Form,"0","Privacy",1,"byIndex",0) $o_form_u = _IEFormElementGetObjByName($o_form, "username") $o_form_p = _IEFormElementGetObjByName($o_form, "PassWord") _IEFormElementSetValue($o_form_u, $Log) _IEFormElementSetValue($o_form_p, chr(24)) _IEFormElementSetValue($o_form_p, $psw) _IEFormSubmit($o_Form)I think not correct use of function.But i have trie more time...Please help meThx for all seggest.Ra95 Link to comment Share on other sites More sharing options...
bluerein Posted August 9, 2009 Share Posted August 9, 2009 try something like #include <IE.au3> $oIE = _IECreate ("http://avengersalliance.altervista.org/forum/ucp.php?mode=login") $oForm = _IEFormGetCollection ($oIE, 0) $oQuery = _IEFormElementGetCollection ($oForm, 0) $oQuery1 = _IEFormElementGetCollection ($oForm, 1) _IEFormElementSetValue ($oQuery, "username") _IEFormElementSetValue ($oQuery1, "password") _IEFormSubmit ($oForm) Link to comment Share on other sites More sharing options...
ra95 Posted August 9, 2009 Author Share Posted August 9, 2009 try something like #include <IE.au3> $oIE = _IECreate ("http://avengersalliance.altervista.org/forum/ucp.php?mode=login") $oForm = _IEFormGetCollection ($oIE, 0) $oQuery = _IEFormElementGetCollection ($oForm, 0) $oQuery1 = _IEFormElementGetCollection ($oForm, 1) _IEFormElementSetValue ($oQuery, "username") _IEFormElementSetValue ($oQuery1, "password") _IEFormSubmit ($oForm) Hi work fine Very thanks... now i try to interpreter correct command with this help. have nice night. thx Ra95 Link to comment Share on other sites More sharing options...
ra95 Posted August 10, 2009 Author Share Posted August 10, 2009 Hi work fine Very thanks... now i try to interpreter correct command with this help. have nice night. thx Ra95 Hi, i have resolved two problem first submit not work i have used this code for submit: $oSubmit = _IEGetObjByName ($oIE, "Login") _IEAction($osubmit, "click") _IELoadWait($oIE) and checkbox i have use this code:$oBox = _IEGetObjById($oIE, "attach_sig") $oBox.checked = False; false for uncheck or True for check I have posted for help other person newbye. Thx all for help. Ra95 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