nisus.com
https://www.nisus.com/forum/

Convert rtf to plain text macro?
https://www.nisus.com/forum/viewtopic.php?f=17&t=3776
Page 1 of 1

Author:  jb [ 2010-06-04 12:48:19 ]
Post subject:  Convert rtf to plain text macro?

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

Author:  jb [ 2010-06-04 13:09:04 ]
Post subject:  Re: Convert rtf to plain text macro?

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.

Author:  martin [ 2010-06-04 14:02:29 ]
Post subject:  Re: Convert rtf to plain text macro?

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 '').

Author:  jb [ 2010-06-04 16:22:29 ]
Post subject:  Re: Convert rtf to plain text macro?

Thanks, Martin.
Very handy indeed.
Nisus is able to do just about anything it seems. And having your help makes all the difference.
Cheers

Author:  jb [ 2010-06-05 02:46:57 ]
Post subject:  Re: Convert rtf to plain text macro?

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 ?

Author:  martin [ 2010-06-06 13:26:43 ]
Post subject:  Re: Convert rtf to plain text macro?

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.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/