• 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: COMPARING TWO LISTS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: COMPARING TWO LISTS


  • Subject: Re: COMPARING TWO LISTS
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 11 Mar 2001 21:58:09 -0800

On 3/11/01 5:19 AM, David Walsh <email@hidden> wrote:

>list1 is a list of files found and copied to FOLDER 2.
>What i am trying to do is to compare list1 to nameList and
>find out what files where not found and then generate a report on the missing
>files.

set list1 to {"Birth Certificate", "Checking Out Step 3", "file2", "Late
Breaking News", "file1"}
--all but file2 and file1 are in the folder specified below.

set folderList to list folder "dora:foo"
--change path to your actual folder, of course.

set missingItemList to {}

repeat with searchItem in list1
if searchItem is not in folderList then
set missingItemList to missingItemList & searchItem
end if
end repeat
--> {"file2", "file1"}

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: countdown to failiure
  • Next by Date: Re: countdown to failiure
  • Previous by thread: Re: Comparing Two Lists
  • Next by thread: Re: Help browser font size...
  • Index(es):
    • Date
    • Thread