Jump to content

Search the Community

Showing results for tags 'searchcontent'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Exit _DebugArrayDisplay(_FileListToArray_EverythingSearch(), "Error: " & @error & " - File count: " & @extended) Func _FileListToArray_EverythingSearch($iMaxCount = 5000) Local Static $sTitle = "[CLASS:EVERYTHING;]" If Not WinExists($sTitle) Then $sTitle = "[CLASS:EVERYTHING;]" ; @ https://www.voidtools.com/ If Not WinExists($sTitle) Then $sTitle = "[CLASS:EVERYTHING_(1.5a);]" ; @ https://www.voidtools.com/everything-1.5a/ ; this "alpha" has dark mode. If Not WinExists($sTitle) Then Local $aArray[1] = [0] Return SetError(1, 0, $aArray) ; the GUI is not found EndIf If Not @AutoItX64 Then ; because I use the x64 version of voidtools' "everything" search engine. Local $aArray[1] = [0] ; https://www.voidtools.com/ Return SetError(2, 0, $aArray) ; ControlListView() must match (64bit or 32bit) as otherwise "death of the apps !" EndIf Local $iItemCount = ControlListView($sTitle, "", "[CLASS:SysListView32; INSTANCE:1]", "GetItemCount") Local $iSubItemCount = ControlListView($sTitle, "", "[CLASS:SysListView32; INSTANCE:1]", "GetSubItemCount") If $iItemCount > $iMaxCount Then $iItemCount = $iMaxCount ; $iSubItemCount is not used here but, I copied this from another script. Local $aArray[$iItemCount + 1] Local $u1 = $iItemCount - 1, $u2 = $iSubItemCount - 1 For $n = 0 To $u1 $aArray[$n + 1] = ControlListView($sTitle, "", "[CLASS:SysListView32; INSTANCE:1]", "GetText", $n, 1) & _ "\" & ControlListView($sTitle, "", "[CLASS:SysListView32; INSTANCE:1]", "GetText", $n, 0) Next $aArray[0] = $iItemCount Return SetError(0, $iItemCount, $aArray) EndFunc ;==>_FileListToArray_EverythingSearch I use "Everything" search engine. Also use @Nine's SearchContent script. I wanted to get the file list from _FileListToArray_EverythingSearch() instead of from _FileListToArrayRec(). So I cooked this ( actually a copy'n'paste from elsewhere ) to "eat my cake and have it too". Also, in the search filter of everything, you can replace the ";" separator with "|" ( a pipe ) and use it in everything search engine. Ex: "*.au3|*.txt|*.log|*.ini|*conf C: \includes\" Not a revolutionary new way to do anything but I wanted to share the idea
×
×
  • Create New...