Rydextillxixdiex Posted August 7, 2008 Share Posted August 7, 2008 Is there a way autoit can search an active web page for a designated forum, either by its preceding text i.e. Email: or Password:, or by reading/using the html defined variable given to the input box in the source code? Thanks for help in advanced ...will never learn all there is to know about autoit, no worries...i came to the forums :) Link to comment Share on other sites More sharing options...
2words4uready Posted August 7, 2008 Share Posted August 7, 2008 Is there a way autoit can search an active web page for a designated forum, either by its preceding text i.e. Email: or Password:, or by reading/using the html defined variable given to the input box in the source code?Thanks for help in advanced Maybe IE functions Link to comment Share on other sites More sharing options...
Szhlopp Posted August 7, 2008 Share Posted August 7, 2008 (edited) Is there a way autoit can search an active web page for a designated forum, either by its preceding text i.e. Email: or Password:, or by reading/using the html defined variable given to the input box in the source code? Thanks for help in advanced I'm actually writing one of these atm. Here is an example though, you can modify it however you like: expandcollapse popupFunc GetElementList($webAdd) _IELoadWaitTimeout(30000) $oIE = _IECreate($webAdd, 0, 0) If @error = 0 Then $oForms = _IEFormGetCollection($oIE) $iNumForms = @extended For $A = 0 To $iNumForms - 1 $oForm = _IEFormGetCollection($oIE, $A) $ocollection = _IEFormElementGetCollection($oForm) $Elecount = @extended Global $IEelements[Int($Elecount)] For $I = 0 To $Elecount - 1 $IEelements[$I] = _IEFormElementGetCollection($oForm, $I) _GUICtrlListBox_AddString($AE_list1, $A & " " & $I + 1 & ") " & $IEelements[$I] .name) Next Next GUICtrlSetData($AE_InfoLabel, "Download complete! Please select a control from the listbox and click the button to save as User/Pass fields.") ElseIf @error = 6 Then GUICtrlSetData($AE_InfoLabel, "Error downloading controls list. Timed out") EndIf _IEQuit($oIE) EndFunc ;==>GetElementListoÝ÷ Øêëº{aÀ%² ¢^Å©©æ®¶sb6æ6ÇVFRfÇC´RæS2fwC°¢6æ6ÇVFRfÇCµvæF÷w46öç7FçG2æS2fwC°¢6æ6ÇVFRfÇC´uT6öç7FçG4WæS2fwC°¢6æ6ÇVFRfÇC´uTÆ7D&÷æS2fwC°£° ¢b33c·vV$FBÒgV÷C¶GG¢òõõU%tT$U$Ræ6öÒgV÷C° ¢b33c¶wVÒuT7&VFRgV÷C´f÷&ÓgV÷C²ÂCsÂ#BÂ2Â#R¢b33c´Æ7CÒuT7G&Ä7&VFTÆ7BgV÷C²gV÷C²ÂÂÂRÂÂb33cµu5ô$õ$DU"²b33cµu5õe45$ôIJb33cµu5õD%5Dõ²b33c´Ä%5ôäõDe¢b33c·vV&FG"ÒuT7G&Ä7&VFTçWBb33c·vV$FBÂrÂÂ#SÂ#¢b33c¶fVÆBÒuT7G&Ä7&VFTçWBgV÷C²gV÷C²ÂÂCBÂ#SÂ#¢b33c´'WGFöãÒuT7G&Ä7&VFT'WGFöâgV÷C´ÆövâgV÷C²Â#SbÂbÂÂ3¤uT6WE7FFR5uõ4õr ¢b33c¶ôRÒôT7&VFRb33c·vV$FB ¤fæEW6W$æÖRb33c¶ôR£µôTf÷&ÔVÆVÖVçE6WEfÇVRb33c´VVÆVÖVçG5³EÒÂgV÷C¶S2gV÷C²¥ôUVBb33c¶ôR ¥vÆR 7vF6uTvWD×6r 66Rb33c´uTôUdTåEô4Äõ4P W@ 66Rb33c¶'WGFöã b33c¶ôRÒôT7&VFRb33c·vV$FB ´fæEW6W$æÖRb33c¶ôR b33c·6VÆFVÒÒôuT7G&ÄÆ7D&÷ôvWD7W%6VÂb33c¶Æ7C b33c·6VÇFWBÒôuT7G&ÄÆ7D&÷ôvWEFWBb33c¶Æ7CÂb33c·6VÆFVÒ b33c¶f÷&ÔçVÒÒçB7G&ætÆVgBb33c·6VÇFWBÂ" b33c¶ôf÷&ÒÒôTf÷&ÔvWD6öÆÆV7Föâb33c¶ôRÂb33c¶f÷&ÔçVÒ b33c´VVÆVÖVçG2ÒôTf÷&ÔVÆVÖVçDvWD6öÆÆV7Föâb33c¶ôf÷&ÒÂb33c·6VÆFVÒ ôTf÷&ÔVÆVÖVçE6WEfÇVRb33c´VVÆVÖVçG2ÂuT7G&Å&VBb33c¶fVÆB VæE7vF6 ¥tVæ@ ¤gVæ2fæEW6W$æÖRb33c¶ôR¢b33c¶ôf÷&×2ÒôTf÷&ÔvWD6öÆÆV7Föâb33c¶ôR¢b33c¶çVÔf÷&×2ÒWFVæFV@ ¤f÷"b33c´ÒFòb33c¶çVÔf÷&×2Ò b33c¶ôf÷&ÒÒôTf÷&ÔvWD6öÆÆV7Föâb33c¶ôRÂb33c´ b33c¶ö6öÆÆV7FöâÒôTf÷&ÔVÆVÖVçDvWD6öÆÆV7Föâb33c¶ôf÷&Ò b33c´VÆV6÷VçBÒWFVæFV@ vÆö&Âb33c´VVÆVÖVçG5´çBb33c´VÆV6÷VçBÐ f÷"b33c´ÒFòb33c´VÆV6÷VçBÒ b33c´VVÆVÖVçG5²b33c´ÒÒôTf÷&ÔVÆVÖVçDvWD6öÆÆV7Föâb33c¶ôf÷&ÒÂb33c´ ôuT7G&ÄÆ7D&÷ôFE7G&ærb33c¶Æ7CÂb33c´fײgV÷C²gV÷C²fײb33c´²fײgV÷C²gV÷C²fײb33c´VVÆVÖVçG5²b33c´ÒææÖR æW@ ¤æW@ ¤VæDgVæ Edited August 7, 2008 by Szhlopp RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
Rydextillxixdiex Posted August 9, 2008 Author Share Posted August 9, 2008 I guess more specificly I was in search of a way to enter user defined or predefined text into a given form name such as email no matter what the webpage is. ...will never learn all there is to know about autoit, no worries...i came to the forums :) 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