Page 1 of 1

Convert rtf to plain text macro?

Posted: 2010-06-04 12:48:19
by jb
I have about 60 rtf documents that I'd like to convert to plain text.
I know that Nisus can do this, so I'm wondering how to make a macro that could make this process quick and easy.
I guess it should be child's play for anyone who understands the basics of the macro language, but that group doesn't include me :P
Thanks

Re: Convert rtf to plain text macro?

Posted: 2010-06-04 13:09:04
by jb
Well it's not very satisfying for a macro guru, but I've found another way - importing into Scrivener and then exporting as plain text. Easy enough, since Scriv can handle many files at once.

Re: Convert rtf to plain text macro?

Posted: 2010-06-04 14:02:29
by martin
In case you're still looking for a macro, I wrote a batch RTF converter and added it to the repository. If you want to convert all files NWP supports, open the macro and change the highlighted extension to be the empty string (eg: from 'rtf' to '').

Re: Convert rtf to plain text macro?

Posted: 2010-06-04 16:22:29
by jb
Thanks, Martin.
Very handy indeed.
Nisus is able to do just about anything it seems. And having your help makes all the difference.
Cheers

Re: Convert rtf to plain text macro?

Posted: 2010-06-05 02:46:57
by jb
One more thing if I may.

Am I right in assuming that this macro (and Nisus in general) produces plain text files that are encoded UTF-8 ?

Re: Convert rtf to plain text macro?

Posted: 2010-06-06 13:26:43
by martin
The macro does indeed write text using UTF-8.

When saving a file as plain text using the Save menus, the Save dialog has a popup button that lets the user choose which encoding to use. By default UTF-8 is selected.