unknown12 Posted February 10, 2005 Share 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. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 bump Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share 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. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share 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. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 i'm only new to autoit Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share 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. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 could you give me an example of what my script would look like? Link to comment Share on other sites More sharing options...
Josbe Posted February 10, 2005 Share 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 Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2005 Developers Share 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. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 Could you write me an example please? thanks. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 something likeif the directory structure was this - DIR -- SubDir1 -- SubDir2 -- File1 -- File2 -- File3 -- SubDir3the script would returnSubDir1SubDir2SubDir3thanks. Link to comment Share on other sites More sharing options...
Blue_Drache Posted February 10, 2005 Share 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 Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 Some PHP and some autoitv3 beta, but I havn't coded much in autoit so I am still new. Link to comment Share on other sites More sharing options...
unknown12 Posted February 10, 2005 Author Share Posted February 10, 2005 managed to get it, I think. 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