Re: Recursive Find and Delete Droplet
Re: Recursive Find and Delete Droplet
- Subject: Re: Recursive Find and Delete Droplet
- From: Michelle Steiner <email@hidden>
- Date: Wed, 5 Mar 2003 08:38:17 -0700
On Wednesday, March 5, 2003, at 07:49 AM, Phil Suessenguth wrote:
How to do this for folders indise the one dropped?
The following script is not tested, but it does compile.
--Michelle
on open (theList)
set folderlist to folders of thelist
set filelist to files of thelist
my processfiles (fileList)
repeat with eachFolder in folderlist
my processFolders (folderlist)
end repeat
end open
to processfiles (thisList)
--code to delete files
end processfiles
to processfolders (thisfolder)
set thesefiles to files of thisfolder
my processfiles (thesefiles)
set thesefolders to folders of thisfolder
repeat with thatfolder in thesefolders
processfolders (thatfolder)
end repeat
end processfolders
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.