COMPARING TWO LISTS
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