Jump to content

Loop through sub-folders?


skuli

This topic is 7916 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All,

I have a script which allows me to select a folder and have each file's name imported into a separate record. What I need the script to do is also the the names of any files (and their path) within sub-folders. Here's what I have so far:

--choose a folder with picture files

activate

set folderPath to (choose folder with prompt "Choose a folder with filenames to import

Link to comment
Share on other sites

You need to set-up a ProcessFolder sub-routine that is called again when you script encounters a sub-folder. Something like...

--choose a folder with picture files

activate

set folderAlias to (choose folder with prompt "Choose a folder with filenames to import

Link to comment
Share on other sites

This topic is 7916 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.