Page 2 of 2

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-11-18 17:35
by Rhino
Awesome :)

Well in that case, first of all, for the sake of making things as least confusing as possible and keeping it consistent with other programs "Replace:" should be "Find:" and "With:" should be "Replace:". Just a bit of nit picking :)

Next it would be good to have the "Find" box bigger, I had over 10 words to put in there and couldn't really see what I was working with. Ideally if the box could be in a sort of columns format where you could see each word line by line? Having a comma on the end of the word is fine but would be good if after the comma you could have a "next line"? Same also goes for the "Replace" (currently "With") box :)

Lastly, although this is kinda out of context with the rest of the changes, it would be really good if you could load a text file with multiple find and replace strings to then apply to your file. Something like:

Code: Select all

Find: A,B,C,D,E
Replace: a,b,c,d,e

Find: f,g,h,i,j
Replace: F,H,H,I,J

Find: K,L,M,N,O,P
Replace: K,L,M,N,O,P

etc...
Then it could run though each Find and Replace task set up in that text file rather than you having to do it manually one by one as I have quite a few to do :)

If not, as I said its not a problem but would speed the process up quite a bit each time I need to do this, but nothing urgent :)

Cheers! :D

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-11-21 20:57
by UTurista
I present to you the v1.2.0.4

With a more advanced GUI allows more words without overcrowding the workspace. It also allows a template system that allows you to define the words to find and replace. Unlike the suggestion this does not allows for multiple rules in the same file.

Image
Image

Download: link

Hope you like it, and again any feedback is appreciated :)

PS: the Drag system still works but only for the input file.

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-11-21 21:48
by Rhino
Awesome cheers! Will get back to you once I've had a chance to check it out but looks really good :D

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-25 15:56
by thanhca
UFinder v1.2.0.4 is good. I also need it. Could you add more option "folder path" to replace mass .txt files ? It will be so great for this tool.

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-26 23:42
by UTurista
Hi, glad you like it. I didn't your sugestion 'per se' but I added the option to select multiple files. I'm now testing the latest build, looking for bugs or errors, I might release it tomorrow.

Code: Select all

 v1.2.0.5
'   >Added multiple files feature
'   >Added Icon
'   >File is checked before editing
'   >Added warning to export empty templates
'   >Fixed auto-resizing
I'm also trying to change a few details but so far this is it:

Image

And the recently added mighty icon:
Image

Also not shown in the picture1 but with one file the "File Path" will show you the full path, ie: C:\\ ..., with more files it will only display their name.

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-28 11:02
by thanhca
Thank you for added "select multiple files". This tool become very useful. Much appreciated

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-28 16:31
by UTurista
Current Version: 1.2.0.7

Code: Select all

v1.2.0.6
[list]
[*]Changed way forms are displayed: they are now dialogs (child form disables parent)
[*]Child Forms don't render icon in taskbar anymore
[*]Added option to always be on top
[/list]
v1.2.0.5
[list]
[*]Added multiple files feature
[*]Added Icon
[*]File is checked before editing
[*]Added warning to export empty templates
[*]Added more options
[*]Added reset button
[*]Fixed auto-resizing
[/list]


Edit: Fixed a litle glitch

Code: Select all

v1.2.0.7
[list]
[*]Fixed error with 'reset' button 
[/list]

You can download it here, Link

As usual any feedback is apreciated, hope you'll like it :D

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-28 17:39
by thanhca
Cool! Just test it. Work like a charm. Thank you very much.

EDIT:

Code: Select all

Just a small suggestion:

This version is now use "case sensitive" as default.

Could you add more option "no case sensitive"


Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-29 14:32
by UTurista
Hi, here it is version 1.2.1.0 with case sensitive option

Code: Select all

v1.2.1.0
[list]
[*]Added Case sensitive option
[*]Added Drag & drop feature to templates (only to *.uftp files)
[*]Changed default Template extension from *.txt to *.uftp
[*]Fixed problem were user couldn't save template while editing tables
[*]Fixed UI detail
[/list]
Image

You can download it here, link.

As per usual, feedback is appreciated.

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2013-12-30 14:57
by thanhca
Now, it's perfect. Thank you.

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2014-05-05 11:07
by Rhino
Sorry for the really late feedback on this turista but only properly tried this script yesterday and it worked really well but there is still one more thing I could really use to make this tool as quick and easy to use as possible :D

Basically is there any chance we can setup multiple Find and Random Replace tasks inside of one template?

So basically, currently all you can do, afaik, is just have one task in a template like so:

Code: Select all

Fine: WordA,WordB,WordC
Replace: Word1,Word2,Word3
But then if you wanted to do another find and random replace, you would have to reset all the fields and import another template etc repeating the whole process which takes quite a bit of time even if you have all the templates saved into separate files (which I have quite a few :p )

Is there any chance we could set a template up like so, so it would run though multiple tasks? Example:

Code: Select all

Fine: WordA,WordB,WordC
Replace: Word1,Word2,Word3

Fine: WordD,WordE,WordF
Replace: Word4,Word5,Word6

Fine: Alpha,Bravo,Charlie
Replace: One,Two,Three
If so this would make things 100x easier than it currently is for me :)

Cheers!

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2014-05-05 23:53
by UTurista
I'll try and take a look, I have a feeling that there was a reason why I didn't do that in the beginning, but I've learned more stuff since then so lets see, might convert the code to WPF, with prettier graphics and much more freedom :D

Re: [?] Find String & Replace with Random String from List - Tool/Script?

Posted: 2014-05-05 23:55
by Rhino
Awesome cheers! :D

- Thread copied to: https://www.realitymod.com/forum/f56-ma ... cript.html