Jump to content

Recommended Posts

Posted (edited)

Theres are some UDF's in 'Scripts and Scraps' that use recursive file searching. Just off the top of my head I know Larry done one and so did Ejoc.

Edited by Burrup

qq

Posted (edited)

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

Edited by asimzameer
Posted

How about you actually do some work for yourself for once and atleast attempt to search... You don't even have to do the searching all you have to do is type... In the time and effort it took you to write your last response you could have found the link already. I have told you what to search for, "Recursive" or "Recursive search" or any of those key words...

qq

Posted (edited)

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

#include <Array.au3>

#include <GUIConstants.au3>

GUICreate("TEST SEARCH") 

$myedit=GUICtrlCreateEdit (""& @CRLF, 1,50,400,300,$ES_AUTOVSCROLL+$WS_VSCROLL)

GUISetState ()

Dim $DLine

$Text = "test.txt"

$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, "http://") Then

            $DLine = $NLine

  GUICtrlSetData( $myedit, $DLine & @CRLF,1)

  EndIf

     

    EndIf

WEnd

FileClose($NFile)

While 1

    $msg = GUIGetMsg()

   

    If $msg = $GUI_EVENT_CLOSE Then ExitLoop

Wend

Edited by asimzameer
Posted

Do you not take notice to a word I type? Not even a simple please? This will be the last time I reply to this topic...

http://www.autoitscript.com/forum/index.ph...topic=10447&hl= - gafrost

http://www.autoitscript.com/forum/index.ph...53&hl=Recursive - Larry

http://www.autoitscript.com/forum/index.php?showtopic=5458 - ezzetabi

I have just done the searching for you...

With Ejoc's function, it turns out someone made a file search function out of his Stack UDF's so I don't know where I got that one.

qq

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...