Applescript batch convert .RTF to .TXT with line breaks

Hey guys, looking for help with an Applescript that can change a .RTF to a .TXT with line breaks.


I have an Applescript that will go from a .DOC to a plain .TXT but haven't found anything to get from the .RTF to a .TXT wth line breaks.


I'm doing this for Avid's Script Sync.


Thanks for the help.

iMac, Mac OS X (10.7.1), OS 9 rulez!

Posted on Jan 5, 2012 4:29 PM

Reply
5 replies

Jan 16, 2012 11:09 AM in response to Big Mini

Ok, you obviously mean something specific by "line breaks" that you're not being clear about. are you looking for a specific kind of line ending: Mac style carriage return (CR) ending? Windows style carriage return line feed (CR/LF) endings, unix style line feed (LF) endings? textutil provides LF by default (it's a unix utility after all); if you need a different line ending you'll need to pipe it through tr or modify it via applescript after you've done the conversion

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Applescript batch convert .RTF to .TXT with line breaks

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.