Sign in to follow this  
Followers 0
unknown12

Another Question

16 posts in this topic

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



bump

Share this post


Link to post
Share on other sites

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

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 ? :lmao:

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

i'm only new to autoit :lmao:

Share this post


Link to post
Share on other sites

i'm only new to autoit :lmao:

<{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...


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

could you give me an example of what my script would look like?

Share this post


Link to post
Share on other sites

i'm only new to autoit :lmao:

<{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. o:)

Share this post


Link to post
Share on other sites

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

#11 ·  Posted (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 by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Could you write me an example please?

thanks.

Share this post


Link to post
Share on other sites

something like

if the directory structure was this

  - DIR

  -- SubDir1

  -- SubDir2

      -- File1

      -- File2

      -- File3

  -- SubDir3

the script would return

SubDir1

SubDir2

SubDir3

thanks.

Share this post


Link to post
Share on other sites

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

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

managed to get it, I think.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0