Jump to content

Clever1mba

Active Members
  • Posts

    99
  • Joined

  • Last visited

Everything posted by Clever1mba

  1. i trying this but its just scrolling with no result #include <Array.au3> #include <GUIConstants.au3> GUICreate("TEST SEARCH") $myedit=GUICtrlCreateEdit (""& @CRLF, 1,50,400,300,$ES_AUTOVSCROLL+$WS_VSCROLL) GUISetState () Dim $DLine $Loc = @HomeDrive & "\*.html" RunWait(@ComSpec & ' /c ' & 'dir "' & $Loc & '" /a :h /b /s' & ' > "' & @TempDir & '\dir.txt"', '', @SW_HIDE) Sleep(2000) $NFile = FileOpen(@TempDir & "\dir.txt", 0) If $NFile = -1 Then MsgBox(0, "Error", "Unable to open file.") EndIf Dim $Data_[101], $newID="" While 1 $NLine = FileReadLine($NFile) If @error = -1 Then ExitLoop If $NLine <> "" Then EndIf WEnd FileClose($NFile) While 1 Call("HTML_Search") $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Func HTML_Search() $L_loc = StringInStr($NLine, "http") $result = StringTrimLeft( $NLine, $L_loc -1) $R_loc = StringInStr($result, ".com", 0, -1) $result_2 = StringLeft( $result, $R_loc +3) GUICtrlSetData( $myedit, $result_2 & @CRLF,1) EndFunc
  2. i did'nt get somthing at url have any example of multiple file search then plz share it
  3. okay valuater i add this code and results much better now but lots of duplicate copies one more thing i want to search now multiple file like *.htm *.php *.asp im mean if folder contain lots off html asp and php file can we search all of them and get results if yes plz tell me wat exact code would be THANKS
  4. opps man its not necessary it just example xxxxxxhttp://domainxxxxx myfile.html contain links but we donno how much text contain at left and right i have simple question that how can result be neat if html contain url link we donno myfile.htm contain how many links we just want to extract with clean results just simply do path one html file contain few webiste links and chk ur self with code and notice result are not clean and clear i hope u get my point
  5. hello Valuater okay chk now and tell how to use StringRegExp in code #include <Array.au3> #include <GUIConstants.au3> GUICreate("TEST SEARCH") $myedit=GUICtrlCreateEdit (""& @CRLF, 1,50,400,300,$ES_AUTOVSCROLL+$WS_VSCROLL) GUISetState () Dim $DLine $Text = "myfile.htm" $NFile = FileOpen($Text, 0) If $NFile = -1 Then MsgBox(0, "Error", "Unable to open file.") EndIf Dim $Data_[101], $newID="" While 1 $NLine = FileReadLine($NFile) If @error = -1 Then ExitLoop If $NLine <> "" Then if StringInStr( $NLine , 'www' ) Then $DLine1 = StringReplace($NLine, " ", @CRLF) $DLine2 = StringReplace($DLine1, ">", @CRLF) $DLine3 = StringReplace($DLine2, "<", @CRLF) $DLine4 = StringReplace($DLine3, "http", @CRLF) $DLine5 = StringReplace($DLine4, "," , @CRLF) $DLine6 = StringReplace($DLine5, "/" , @CRLF) $DLine7 = StringReplace($DLine6, "\" , @CRLF) $DLine8 = StringReplace($DLine7, ";" , @CRLF) $DLine9 = StringReplace($DLine8, ":" , @CRLF) $DLine10 = StringReplace($DLine9, "[" , @CRLF) $DLine11 = StringReplace($DLine10, "]" , @CRLF) $DLine12 = StringReplace($DLine11, "}" , @CRLF) $DLine13 = StringReplace($DLine12, "{" , @CRLF) $DLine14 = StringReplace($DLine13, "%" , @CRLF) $DLine15 = StringReplace($DLine14, "+" , @CRLF) $DLine16 = StringReplace($DLine15, "=" , @CRLF) $DLine17 = StringReplace($DLine16, ")" , @CRLF) $DLine18 = StringReplace($DLine17, "(" , @CRLF) $DLine19 = StringReplace($DLine18, "-" , @CRLF) $DLine20 = StringReplace($DLine19, "'" , @CRLF) $DLine21 = StringReplace($DLine20, '"' , @CRLF) GUICtrlSetData( $myedit, $DLine21 & @CRLF,1) EndIf EndIf WEnd FileClose($NFile) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend
  6. hello i try to put some filter and it give result much better now but lots of extrat text with result i just want result like this www.domain1.com www.domain2.com www.domain3.com www.domain4.com www.domain5.com www.domain6.com www.domain7.com www.domain8.com www.domain9.com www.domain10.com any one like to help build this proper #include <Array.au3> #include <GUIConstants.au3> GUICreate("TEST SEARCH") $myedit=GUICtrlCreateEdit (""& @CRLF, 1,50,400,300,$ES_AUTOVSCROLL+$WS_VSCROLL) GUISetState () Dim $DLine $Text = "myfile.htm" $NFile = FileOpen($Text, 0) If $NFile = -1 Then MsgBox(0, "Error", "Unable to open file.") EndIf Dim $Data_[101], $newID="" While 1 $NLine = FileReadLine($NFile) If @error = -1 Then ExitLoop If $NLine <> "" Then if StringInStr( $NLine , 'www' ) Then $DLine1 = StringReplace($NLine, " ", @CRLF) $DLine2 = StringReplace($DLine1, ">", @CRLF) $DLine3 = StringReplace($DLine2, "<", @CRLF) $DLine4 = StringReplace($DLine3, "http", @CRLF) $DLine5 = StringReplace($DLine4, "," , @CRLF) $DLine6 = StringReplace($DLine5, "/" , @CRLF) $DLine7 = StringReplace($DLine6, "\" , @CRLF) $DLine8 = StringReplace($DLine7, ";" , @CRLF) $DLine9 = StringReplace($DLine8, ":" , @CRLF) $DLine10 = StringReplace($DLine9, "[" , @CRLF) $DLine11 = StringReplace($DLine10, "]" , @CRLF) $DLine12 = StringReplace($DLine11, "}" , @CRLF) $DLine13 = StringReplace($DLine12, "{" , @CRLF) $DLine14 = StringReplace($DLine13, "%" , @CRLF) $DLine15 = StringReplace($DLine14, "+" , @CRLF) $DLine16 = StringReplace($DLine15, "=" , @CRLF) $DLine17 = StringReplace($DLine16, ")" , @CRLF) $DLine18 = StringReplace($DLine17, "(" , @CRLF) $DLine19 = StringReplace($DLine18, "-" , @CRLF) $DLine20 = StringReplace($DLine19, "'" , @CRLF) $DLine21 = StringReplace($DLine20, '"' , @CRLF) GUICtrlSetData( $myedit, $DLine21 & @CRLF,1) EndIf EndIf WEnd FileClose($NFile) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend
  7. hello StringReplace($NLine, " " ", @CRLF) i want to replace " with @Crlf but i get error is there any way
  8. Hello i got one command line tool that extract Websites FROM any file but it extract websites to Only one file at time and save them in text file like this i want to know is it possible to using this tool with autoit it search all drives and multiple file like text, doc , html , htm help me if u have idea thanksssss
  9. hello thanks but still results r not good i get some extra text with result xxxxxxhttp://domain.comxxxxxxx how to trim that extra text to get clean resutls
  10. Hello here is code for search websites in txt file but have lot possibilty to improve problem in this code it search http:// but if text file contain website link like this http://domain1.com http://domain2.com it should be spreated to other line like this http://domain1.com http://domain2.com if some one have littile time and trick plz improve that code for all cheerzzzzzzzz
  11. hello i want to know how to make voice chat communication server client application i know we need to open Port and connect to port but how to detect sound and communicate with each other through voice chat is there any way to make it if yes then plz share some info about it
  12. Hello is there any way to search websites in all a - z drives search multiple file txt html and doc if any one have solution plz share it
  13. OKAY i have solution try steps now compile ur script without UPX no antivirus detect any virus or trojan try it then try this site http://virusscan.jotti.org/ ---------------------------------------
  14. its all about UPX packer autoit need to change packer bec most of virus and trojan compress with upx autoit need to use Upack mew fsg or other one i hope u guyzz understand
  15. hello i want to decompress my file to upx but i got error msg autoit cannt run script im using diffrent decompressor but after using UPX -D exe file currpted any one have solution plz share it im using latest beta Autoit
  16. Hello Here check tcp email sender for multiple emails only u have to do is make myfile.txt and save in system32 folder or change path in myfile.txt sequence goes like this xxxx@xxx1.com xxxx@xxx2.com xxxx@xxx3.com xxxx@xxx100.com it automaticall send email to all address i hope u like this email sender still not working with GMAIL.COM i have only test on yahoo.com email addresses im still working on code Thanks MSLx Fanboy for optimizing code if still have time then try to chk for Gmail and try to put Tcprecv for smtp accept commands etc
  17. OKAY THANKS AGAIN MSLx Fanboy just need to change bit more like auto send email after 5 sec with new email
  18. Hello Thanks MSLx Fanboy it works fine now i have change few more thing code this will change TO: xxxxx@xxx.com every 5 sec im mean text file contain yahoo email list its about 10 email it must be send email to all addresses randomly problem in this code send button not work if u have little time then try im improve code
  19. hello This code send email through telnet smtp port 25 it works fine but still need improvement like Tcprecv that receive all command currently receving and display gui
  20. hello i hope u guyz like this email sending code but i need to improve this code i have problem in tcpRecv need to get all recv command and display any one like to improve this code then it will be gr8 enjoy !!!!!!!!!!!!! -----------------------------------------------------------------------
  21. hi i want to know can we connect ms access databse using autoit if yes then how to connect ms database using auto it give me any small example that i can test on my application
  22. i have done this small search in text file using keyword but need improvment help me to improve this okay check this code need to put 1 - www and http:// websites found sapreated line by line
  23. hello okay check my work i have done but this need improvment help me to improve this okay check this code need to put 1 - search html or htm a to z drives 2 - www and http:// websites found sapreated line by line
  24. hello any one have link of search in html or text file then plz let me know where to find somthing realted to search in html file etc
  25. thanks plz kindly share that link that larry and ejoc done
×
×
  • Create New...