Page 1 of 1

remplace text

Posted: 12 May 2022 22:57
by yogi
my question is: are scripts able to replace an expression or words in a text file???
I am currently using this:
http://findandreplace.io/
it does the job well but I don't find it very simple for my use.
EX:
in a folder I have 5 .txt file
in all these files I want to replace
"em=0" by "em=1"
and that by pointing to the parent folder and clicking a user button.

by a script in quicksetting mode ???

it is for .MPR files which are for a Homag digital control.
thank you
YO

Re: remplace text

Posted: 12 May 2022 23:19
by highend
Ofc they are

And I have no clue what a "quicksetting mode" should be...

Re: remplace text

Posted: 13 May 2022 00:00
by yogi
sorry i meant quick search........
quick search "em=0" replace "em=1" ....???

Re: remplace text

Posted: 13 May 2022 00:05
by highend
Quick search can't replace anything, you need a real script

Re: remplace text

Posted: 13 May 2022 00:13
by yogi
unfortunately too complex for me. no starting base.
maybe make a donation to you?

Re: remplace text

Posted: 13 May 2022 00:14
by highend
Sure, if you want to

Re: remplace text

Posted: 13 May 2022 00:25
by yogi
I'm going to bed but I'll watch and let you know!