Find and replace across multiple files

Everything related to our flagship word processor.
Post Reply
David Sharp
Posts: 41
Joined: 2008-07-06 23:21:27
Location: Paris, France
Contact:

Find and replace across multiple files

Post by David Sharp » 2013-01-04 00:01:06

Hello,

As far as I can tell, it isn't possible to search and replace across multiple NWP files.

As I recall, this used to be possible with Word (and probably still is). It is certainly possible with BBEdit, which can even search files that aren't open.

I'm beginning to feel a need for something like this because a few of my NWP files are starting to get extremely large, which slows down certain operations such as saving and pagination. And if I opt not to split these files into parts, it's mainly because I want to be able to search them easily.

Any ideas/possibilities?

Dirk_Barends
Posts: 42
Joined: 2006-12-14 09:09:51

Re: Find and replace across multiple files

Post by Dirk_Barends » 2013-01-04 00:21:05

> Any ideas/possibilities?

Using a macro?

http://nisus.com/pro/macros/?activeCat= ... %20Replace

Dirk Barends

User avatar
phspaelti
Posts: 1005
Joined: 2007-02-07 00:58:12
Location: Japan

Re: Find and replace across multiple files

Post by phspaelti » 2013-01-04 01:26:50

It would also be reasonably easy to modify that macro to work on a pre-selected list of files, or all the files in a given folder, or some collection determined through the document manager. This wouldn't be general purpose, so it would be have to be custom written. But it's not too complicated. If you need help with this kind of thing,... maybe Joe Kissell could put a macro like that in his upcoming book? :)

Obviously it would be nice to have a built-in feature. Maybe in some future version of Nisus?
philip

David Sharp
Posts: 41
Joined: 2008-07-06 23:21:27
Location: Paris, France
Contact:

Re: Find and replace across multiple files

Post by David Sharp » 2013-01-07 09:46:27

Many thanks for those pointers: I'm still something of a beginner with macros, but I'll try the one you suggested.

As for the book by Joe Kissell, I look forward to hearing about - and ordering - it.

Whatever the potential of macros, I agree that a built-in multi-file search function would be a powerful addition to Nisus Writer Pro.

Best wishes, DS

Post Reply