Re: How to compare contents of a folder against a list?
Re: How to compare contents of a folder against a list?
- Subject: Re: How to compare contents of a folder against a list?
- From: Philip Aker <email@hidden>
- Date: Sat, 5 May 2007 00:40:38 -0700
On 2007-05-04, at 23:28:50, KOENIG Yvan wrote:
This is what I proposed in my late message.
repeat with aprefix in my myprefixlist
repeat with aName in my masternames
set temp to (contents of aprefix & "-" & contents of aName)
considering case
if temp is not in filenames then set end of my missingfiles to
temp -- if file is not present
end considering
end repeat
end repeat
You guys should test Yvan's proposal against the other with a timer.
Since the above eliminates the setup and dismantlement of a repeat
mechanism every time through the outer loop, I'd be willing to bet
that Yvan's will be faster.
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden