unknown12 0 Posted February 10, 2005 I'm writhing a script with tabs. I was wondering is there any way to get a list of all the folders on a certain directory in a tab, so that I can select them. thanks. Share this post Link to post Share on other sites
Jos 2,175 Posted February 10, 2005 yeap... a combination of:FileFindFirstFile()FileFindNextFile()StringInStr(FileGetAttrib( filename,"D")Check this script for some ideas:http://www.autoitscript.com/fileman/users/jdeb/scriptlets/findfiles.au3 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 what would be the code for that? what i eant to do is have a tree view inside of a tab, containing all the folders on a certain directory. Share this post Link to post Share on other sites
Jos 2,175 Posted February 10, 2005 what would be the code for that?what i eant to do is have a tree view inside of a tab, containing all the folders on a certain directory.<{POST_SNAPBACK}>What about you give it a try first yourself and comeback when you have questions ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 i'm only new to autoit Share this post Link to post Share on other sites
Jos 2,175 Posted February 10, 2005 i'm only new to autoit <{POST_SNAPBACK}>Welcome to the AutoIT scripting world....To get properly get started open the helpfile and read the first couple of sections about how AutoIt ticks and get yourself an editor that helps with the coding.Start working on some of the examples to get yourself familiarized with scripting with autoIt3... You will find lots of ppl here that are willing to help out when you get stuck... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 could you give me an example of what my script would look like? Share this post Link to post Share on other sites
Josbe 1 Posted February 10, 2005 i'm only new to autoit <{POST_SNAPBACK}>Well, we all are new in some moment to something. Try to write(with the JdeB's ideas) and post your code, so you could receive more help. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 yeap... a combination of:FileFindFirstFile()FileFindNextFile()StringInStr(FileGetAttrib( filename,"D")Check this script for some ideas:http://www.autoitscript.com/fileman/users/jdeb/scriptlets/findfiles.au3<{POST_SNAPBACK}>but surely that wouldn't work, as i want to find the directorys in a directory. Share this post Link to post Share on other sites
Jos 2,175 Posted February 10, 2005 (edited) but surely that wouldn't work, as i want to find the directorys in a directory.<{POST_SNAPBACK}>I do understand that it's not the easiest script to start with but the linked script does recursive scanning through all subdirectories of the given directory... Edited February 10, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 Could you write me an example please? thanks. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 something likeif the directory structure was this - DIR -- SubDir1 -- SubDir2 -- File1 -- File2 -- File3 -- SubDir3the script would returnSubDir1SubDir2SubDir3thanks. Share this post Link to post Share on other sites
Blue_Drache 260 Posted February 10, 2005 I'm writhing a script with tabs.I was wondering is there any way to get a list of all the folders on a certain directory in a tab, so that I can select them.thanks.<{POST_SNAPBACK}>Not to be mean, but.... have you done ANY coding prior to this? BASIC, Q-BASIC, FORTRAN, PASCAL, C, C++, COBOL, VISUAL BASIC, MS DOS BATCH FILE, APPLE (IIe) BASIC?5 REM APPLE IIe BASIC 10 ? Hello World 20 Goto 10 Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 Some PHP and some autoitv3 beta, but I havn't coded much in autoit so I am still new. Share this post Link to post Share on other sites
unknown12 0 Posted February 10, 2005 managed to get it, I think. Share this post Link to post Share on other sites