[Webchange-list] Search and Replace

Tim Hill tim at timil.com
Mon Mar 14 16:01:46 GMT 2011


Here's another search and replace query, but with scripts and files this
time.

I have a replace string too long for the writable icon so though a
file-based script would be a good idea, so created this text file:

WebChange.Script
Set FileReplace.CaseSensitive To "No"
Set FileReplace.ChangeFrom To "RAM::RamDisc0.$.search"
Set FileReplace.ChangeTo To "RAM::RamDisc0.$.replace"
RunProcess Content.FileReplace

I then dragged the Path directory and the Script to the icons in the
WebChange Pro dialogue but when I select Run it throws up "Error 1004:
unrecognised command, process or variable (set)".

Obviously, I am doing something wrong! Help!

-- 
Tim Hill
..............................................................
                                                www.timil.com




More information about the Webchange-list mailing list