Prab Posted September 5, 2008 Share Posted September 5, 2008 (edited) Here is a script I made for fun. I wanted to learn simple GUIs and recursion in AU3. Feel free to use it if you wish. If anyone has suggestions, let me know!Edit: Just to give you an idea, here is some sample output:You have 34 files and folder in C:\Documents and Settings\user\My Documents\scripts\GUIC:\Documents and Settings\user\My Documents\scripts\GUI\ExtrasC:\Documents and Settings\user\My Documents\scripts\GUI\Extras\Control TemplatesC:\Documents and Settings\user\My Documents\scripts\GUI\Extras\Control Templates\control_templates.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Extras\Control Templates\readme.txtC:\Documents and Settings\user\My Documents\scripts\GUI\FD.exeC:\Documents and Settings\user\My Documents\scripts\GUI\fd.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\FormsC:\Documents and Settings\user\My Documents\scripts\GUI\history.txtC:\Documents and Settings\user\My Documents\scripts\GUI\LanguageC:\Documents and Settings\user\My Documents\scripts\GUI\Language\help_eng.chmC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_bg.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_bra.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_cze.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_dut.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_eng.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_frbe.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_ger.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_ita.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_nor.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_pol.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_rus.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_spa.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\Language\lang_zhcn.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\styles.xmlC:\Documents and Settings\user\My Documents\scripts\GUI\TemplatesC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\About Box.kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Dialog with help (vertical).kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Dialog with help.kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Dual ListBox.kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Form.kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Password Dialog.kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Standard Dialog (vertical).kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Standard Dialog (horizontal).kxfC:\Documents and Settings\user\My Documents\scripts\GUI\Templates\Tabbed Pages.kxfEdit2: Small source code update.Edit3: Saves last save/scan locations.FolderLogGui.exeFolderLogGui.au3 Edited September 12, 2008 by Prab FolderLog GuiSpeech Assist Link to comment Share on other sites More sharing options...
gseller Posted September 5, 2008 Share Posted September 5, 2008 Nice lil script! I will find a use for that, Thank you for sharing it... Link to comment Share on other sites More sharing options...
DaRam Posted September 5, 2008 Share Posted September 5, 2008 Here is a script I made for fun. I wanted to learn simple GUIs and recursion in AU3. Feel free to use it if you wish. If anyone has suggestions, let me know! Edit: Just to give you an idea, here is some sample output: Edit2: Small source code update.Hi, Bug? Not a big deal, it still works, but If I happen to include a trailing \ in the Source Folder spec. it gets echoed in the output as \\ Question, is it missing the first filefind? $searchHandle = FileFindFirstFile($searchLocation & "\*.*") I don't see this being added to or being written out to the log file. Link to comment Share on other sites More sharing options...
Prab Posted September 8, 2008 Author Share Posted September 8, 2008 @DaRam, As far as I can tell it does not miss any files. I have ran it on a folder with just 1 file and on my entire harddrive. In both cases (and many in the middle) it came back with correct results. I will fix the bug with the trailing slash, but the only way there would be a trailing slash is if you type it (or select a drive letter ). If you use the folder selector, it fills out the field correctly. FolderLog GuiSpeech Assist Link to comment Share on other sites More sharing options...
DaRam Posted September 8, 2008 Share Posted September 8, 2008 (edited) Ok, I was curious about the sequence of FindFirst and FindNext. And realized the FindFirst just returns a success or error code to be used for subsequent call to FindNext.@DaRam, As far as I can tell it does not miss any files. I have ran it on a folder with just 1 file and on my entire harddrive. In both cases (and many in the middle) it came back with correct results. Edited September 8, 2008 by DaRam Link to comment Share on other sites More sharing options...
Prab Posted September 8, 2008 Author Share Posted September 8, 2008 Update: Added abort button! Fixed trailing slash bug! Download from first post. FolderLog GuiSpeech Assist Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now