• 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: This AppleScript stuff is harder than I thought
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: This AppleScript stuff is harder than I thought


  • Subject: Re: This AppleScript stuff is harder than I thought
  • From: Mr Tea <email@hidden>
  • Date: Fri, 17 Jun 2005 21:59:32 +0100

This from Sparky - dated 17/6/05 9:17 pm:

> All I want to do is make a copy of a
> folder -- the trick is that I want those items in the source with
> specific names to be filtered out.

In which case, you don't really want to make a copy of the folder, you want
to make a new folder and copy some of the source folder's contents to it.

List the names you want excluded...

  set myList to {"Bush", "Cheney", "Rumsfeld"}

Then tell the Finder where the source folder is and where you want the new
folder created, get every item in the source folder whose name is not in the
list, and duplicate them to the new folder.

HTH

Nick
pp Mr Tea

--


 _______________________________________________
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

  • Follow-Ups:
    • Re: This AppleScript stuff is harder than I thought
      • From: Sparky <email@hidden>
References: 
 >Re: This AppleScript stuff is harder than I thought (From: Sparky <email@hidden>)

  • Prev by Date: Re: Inventory script
  • Next by Date: Re: This AppleScript stuff is harder than I thought
  • Previous by thread: Re: This AppleScript stuff is harder than I thought
  • Next by thread: Re: This AppleScript stuff is harder than I thought
  • Index(es):
    • Date
    • Thread