Re: dropping folders
Re: dropping folders
- Subject: Re: dropping folders
- From: Michelle Steiner <email@hidden>
- Date: Tue, 28 Sep 2004 11:28:21 -0700
On Sep 28, 2004, at 10:11 AM, Bjorn Sodergren wrote:
Does anyone have or know of an existing method that would let me
trasverse a directory structure to parse a file (or list of files) ?
It's a matter of recursion.
on open (Dropped_items)
my do_files(files of the Dropped_items)
my do_folders(folders of the Dropped_items)
end open
to do_files(incoming_files)
repeat with This_file in incoming_files
--do whatever you need to do with the files
end repeat
end do_files
to do_folders(incoming_folders)
repeat with this_folder in incoming_folders
my do_files(files of this_folder)
my do_folders(folders of this_folder)
end repeat
end do_folders
-- Michelle
--
Rock is dead.
Long Live Paper and Scissors!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden