Jump to content

Recommended Posts

Posted

Im using _FileListToArray(@DesktopDir) and i want to know if i can filter it so i can only see .txt files in my listview

ALSOO!! is there a way to refresh the list every time ( text files will be saved on the desktop from time to time)??

Posted (edited)

I think:

#include <File.au3>
#Include <Array.au3>

$FileList = _FileListToArray(@DesktopDir, "*.txt")

If @Error Then
    MsgBox (0,"","No Files\Folders Found.")
    Exit
EndIf
_ArrayDisplay($FileList,"$FileList")

EDIT: For refreshing the list view, some code would help...

Edited by Bert
Posted

ty for your help...i got the refreshing thing i wanted to work...its pretty simple..it just keep getting whats on your desktop to the listbox

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
×
×
  • Create New...