topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 8:09 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Batch for Docs (search and replacer and format)  (Read 5373 times)

vincitygialam

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Batch for Docs (search and replacer and format)
« on: October 04, 2018, 05:00 AM »
I need a free program for search and replace in multiple word files able to :
- Insert a text after the located string , or before
- Replace the located string by a new one
- Format the located string in several ways (bold, highlight, etc. )

Is it possible ?

Best Regards

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Batch for Docs (search and replacer and format)
« Reply #1 on: October 04, 2018, 06:02 AM »
formatted? no.

YannickDa

  • Supporting Member
  • Joined in 2018
  • **
  • Posts: 24
    • View Profile
    • StackNotes homepage
    • Read more about this member.
    • Donate to Member
Re: Batch for Docs (search and replacer and format)
« Reply #2 on: October 04, 2018, 09:31 AM »
you might give this a try : Word Search and Replace 2.40

KodeZwerg

  • Honorary Member
  • Joined in 2018
  • **
  • Posts: 718
    • View Profile
    • Donate to Member
Re: Batch for Docs (search and replacer and format)
« Reply #3 on: October 05, 2018, 03:14 AM »
If still needed, i could create a GUI with a Listview (where you can drop files in), two editlines (where you put original and new text in), some radiobuttons to choose between modes and finally a [GO] button.

Program will only do its job if MS-Word is installed (Com/Ole usage)


FYI "re-format" i have no idea yet

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Batch for Docs (search and replacer and format)
« Reply #4 on: October 09, 2018, 04:51 PM »
@vincitygialam: Hmm. Lintalist might be useful here. It's a pretty powerful tool based on AHK (Autohotkey) and has a few handy plugins. I suggest you consider trying it out. (The link has instructional videos.)

Not sure whether it would necessarily meet all your requirements, but, on the other hand, though we usually tend to think that we know what our requirements are, it is often the case that we might change/develop our requirements after having had a suck-it-and-see using some new tool. That's because trying out new tools can help to expand our awareness of what is possible and what we would've liked to have had the ability to do had we known that the potential to do that thing existed in the first place - e.g., like discovering that MS OneNote can search for decipherable words/phrases in an audio file and point to where (how many minutes/seconds) that bit of audio is in the file. ("Wait. It can do that?").

Though I have been aware of Lintalist for years, I haven't really needed to use the extensive text-handling functionality that it provides, as I tend to use my own AHK scripts to meet my simple requirements. However, Lintalist seems to support plain text and formatted text (HTML, Markdown, RTF, Image), so I would probably use it if I needed that capability.