12 Replies Latest reply: Nov 23, 2012 9:08 AM by Pierre L.
nick_harambee Level 1 Level 1 (5 points)

Hi,

 

Here is my scenario.  I have two TextEdit documents which each contain a series of email addresses, with one email address per line.  File A has a very long list of email address.  File B has a shorter list.  For each email address in File A I would like the script to check if the same email address exists in File B, and if it does, delete it from File A.

 

Would it be straightforward to do this with applescript, and if so could someone help get me started?

 

Thanks,

 

Nick


Macbook Pro, Mac OS X (10.7), 2.66 GHz Intel Core i7 8GB RAM