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

COMPARING LISTS


  • Subject: COMPARING LISTS
  • From: "Walsh, Dave (EDM_EXCHANGE)" <email@hidden>
  • Date: Sun, 11 Mar 2001 13:23:46 -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: Apple System Profiler
  • Previous by thread: Re: Organize your scipts and scraps?
  • Next by thread: Re: Re: Help browser font size / Signature appPath / Larger font for Help etc.
  • Index(es):
    • Date
    • Thread