comparing and updating lists
comparing and updating lists
- Subject: comparing and updating lists
- From: Bis <email@hidden>
- Date: Tue, 21 Jan 2003 14:33:57 +0000
hiya!
a newbie query about lists:
If I have two lists
list1 {"1","2","3"}
list2 {"1", "2", "3", "4"}
what i want to do is:
1) loop through both lists
2) get a list of those items which are in list2 but not in list1
3) copy the missing items from list2 to list1
What I eventually want to do is to have a script which checks a
folder (list2) periodically for newly added files (like "4") and
copies any newly added files to another folder (list1).
any help or advice or example scripts would be greatly appreciated.
thanx loads for your patience!
bis
--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.