Reply to topic  [ 6 posts ] 
Convert rtf to plain text macro? 
Author Message

Joined: 2007-11-09 15:27:25
Posts: 86
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


2010-06-04 12:48:19
Profile

Joined: 2007-11-09 15:27:25
Posts: 86
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.


2010-06-04 13:09:04
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
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 '').


2010-06-04 14:02:29
Profile WWW

Joined: 2007-11-09 15:27:25
Posts: 86
Thanks, Martin.
Very handy indeed.
Nisus is able to do just about anything it seems. And having your help makes all the difference.
Cheers


2010-06-04 16:22:29
Profile

Joined: 2007-11-09 15:27:25
Posts: 86
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 ?


2010-06-05 02:46:57
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
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.


2010-06-06 13:26:43
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software