• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using Find/Replace in Multiple Projects

New Here ,
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

I maintain several RoboHELP HTML projects, and I have a global edit to make (global meaning in all projects, not just one).

Is there a way to have RH conduct a find/replace in multiple projects so that I don't have to open each one?

Thanks,

Jim

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Apr 15, 2008 Apr 15, 2008
Hi Jim,
A couple of thoughts on this...
I've only used the Multi-file find and replace facility in RH and from experience with this I would exercise caution as you only see the code view and are to some extent "flying blind".

Second thing, if you do find a search and replace method you like, perhaps consider replacing items with variables which can be more easily updated when the inevitable next time comes....

Votes

Translate

Translate
Community Expert ,
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

No.

What you might like to try is FAR from http://www.helpware.net/FAR.

You will need to point it to each project but you would set up the search and replace and then just point to project one, then project two and project three, one after the other so very simple.

Be aware, multi file find and replace tools are dangerous and can end your project and career in seconds. Make backups BEFORE you experiment.

The nice bit with FAR is you can specify the start and end of the string and specify includes and / or excludes. It searches across multiple lines. Note that it works at code level so be careful.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

Hi Jim,
A couple of thoughts on this...
I've only used the Multi-file find and replace facility in RH and from experience with this I would exercise caution as you only see the code view and are to some extent "flying blind".

Second thing, if you do find a search and replace method you like, perhaps consider replacing items with variables which can be more easily updated when the inevitable next time comes....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

I wouldn't consider using the inbuilt tool. It only searches on a single line and can miss stuff as a result.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

I can see from the dates on these posts that I'm once again a year behind everyone else - maybe that's a good thing. Could you explain the comment "I wouldn't consider using the inbuilt tool. It only searches on a single line and can miss stuff as a result."  I believe I am having this problem. I'm trying to Search / Replace a large project using the RoboHelp Multi-File Find and Replace tool and have discovered it missed about 10% of the hundreds of occurrences. I'm trying to figure out if there's anything I can do differently to avoid this problem. I will look into "variables", but right now I just need to get this project completed for a release. Thanks for any additional info or work-arounds.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

I have the same problem - only I'd say it misses more like 30 percent.

Helen Schmidling

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2009 Sep 16, 2009

Copy link to clipboard

Copied

Text wrapping means that part of what you are searching for is on one line and part is on another. Many text editor search tools only search on one line. Thus if you are looking for "this string of text" the search will not find it if it is in the code as

this

string of text

because that is on two lines.

You need to use a search tool that does scan two lines such as those recommended.


See www.grainge.org for RoboHelp and Authoring tips

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

FAR is also capable of "Start with/Include/Not include/End with" searches, batch runs, and much more.

Good luck,

Leon

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 18, 2009 Sep 18, 2009

Copy link to clipboard

Copied

LATEST

Thanks for the observation, the explanation of the mutli-line issue and the recommendation. This would seem to fit what I'm finding. Searching for a single word instead of a string provided considerably better results. I was able to locate the rest of what I wanted to replace by compiling the help and then using the search feature within that. That was enough to get the job done. I'm trying to not install any more applications on my computer but eventually I'll cave in and get a better search tool. Again, thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

Thanks Peter and Author care.

To the variable point AuthorCare mentioned, does this mean that an XML product (e.g., MadCap Flare) would work better for multiple project find/replace?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 15, 2008 Apr 15, 2008

Copy link to clipboard

Copied

Why would XML make any difference?

RH7 has variables.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp