Hey guys
I hope you can get me in the right direction with this one:
It's pretty easy to get a list with a specific filetype, and show it with _ArrayDisplay
#include <File.au3>
Local $aFileList = _FileListToArray("C:\Test\", "*.txt")
_ArrayDisplay($aFileList, "Available text files")
But what if I want to create a GUI with a button for every available txt file, and name each button after the txt file?
Let's say I have 3 txt files in C:\Test\
file1.txt
file2.txt
file3.txt
Should end up with a GUI with 3 buttons lined up vertically:
[ file1 ]
[ file2 ]
[ file3 ]
I hope it makes sense :-)