Skip navigation

How do I write an applescript to match strings in two textedit documents?

986 Views 12 Replies Latest reply: Nov 23, 2012 9:08 AM by Pierre L. RSS
nick_harambee Level 1 Level 1 (5 points)
Currently Being Moderated
Nov 19, 2012 1:24 PM

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

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.