On Oct 2, 2008, at 1:59 PM, Bill Steele wrote:

> Unless you need this to happen in front of people's eyes, you don't  
> have to do it in Tex-Edit. You can operate on an Applescript string  
> variable with the search features in the ACME Script Widgets or  
> Satimage OSAXen.

Can you do the text styling though? From what I've been able to  
determine, you can't although I'd be happy to be shown I'm wrong.

> Finding what's between two underscores also could be a regular  
> expression job.

I actually thought of this yesterday when someone on the A.S.S. list  
mentioned regular expressions. However, I've got that part of the  
script working fine. I suspect using regular expressions to do that  
would be quicker, but what I've got goes pretty fast.

RJay