I've been getting a lot of use out of a vb CodeSweeper script (Written by Seán Hennessy-Adapted for HomeSite by Joel Mueller
from allaire's dev exchange) and now I would like to know if it can be carried a couple of steps further.
the script opens multiple files in a directory runs a code sweep saves and closes all file. I need a similar function (or edit the existing one) to search and enter text while the files are open And.... enter numbers sequentially as the replacement value?
It would have to be able to open the first file in a directory search for a unique string within the html and enter a number then save and close.... move to the next file, search the same string, enter a number (the last number +1) save and close and so on.
I'm mainly an html developer, and I'm contracting for a site that has thousands of files. we're adding a advertising script that requires plugging in a unique tracking number in the body of each page, so I would like to be able to do at least a directory at a time.
I know it's asking a lot but it's one of those "you don't know unless you ask" situations. I'm going to have to do it manually if
not.
Any assitance is appreciated (for alternatives also)
Thanks Bob Bennett
