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

COMPARING TWO LISTS


  • Subject: COMPARING TWO LISTS
  • From: "David Walsh" <email@hidden>
  • Date: Sun, 11 Mar 2001 06:19:44 -0700

OK I GIVE UP. It's Sunday i'm sitting in the office in front of my trusty
PowerPC. And i just have to admit that I cannot see how to do this.
I am trying to compare two lists
NameList is the source list for a search.
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.

tell application "Scriptable Text Editor"

tell document "Pickup List"

set nameList to word 1 of every paragraph

end tell
end tell
tell application "Finder"

set list1 to name of files in folder "FOLDER 2" of disk "AdPro-15"

if list1 does not contain nameList then

end if
end tell


  • Prev by Date: Re: Name of this folder
  • Next by Date: Re: [ANNOUNCEMENT] Dialog Studio
  • Previous by thread: Re: printing from AS
  • Next by thread: Re: Comparing Two Lists
  • Index(es):
    • Date
    • Thread