• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Recursive Find and Delete Droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Recursive Find and Delete Droplet (From: Phil Suessenguth <email@hidden>)

  • Prev by Date: Re: Address Book Chat Handles
  • Next by Date: Re: replacing text - solved
  • Previous by thread: Recursive Find and Delete Droplet
  • Next by thread: Re: Recursive Find and Delete Droplet
  • Index(es):
    • Date
    • Thread