On 6/27/00 6:11:00 PM, Peter Rejto wrote:
>Scott,
>First and foremost thanks for
>CHANGER.VDM. I started to use
>it and I like it.
You are welcomed. Glad you find it useful.
>Second, a question: Do I
>understand it correctly?
>CHANGER.VDM is based on a code
>in your Code Center. This is
>the code which allows it to
>act on multiple files.
Yes and yes.
>My more specific question is
>this: Can I use your code to
>let my
>--
>Replace("ss","rs")
>--
>command act on multiple files?
Yes, the full path of the filename to be processed is in t-reg 22, so you just write your code in the user code section of the macro. Very simply, it might go like this :
Buf_empty(ok)
file_open(@22)
(your replace command(s) here)
file_save(nomsg)
That is it. Most of the grunt work is already done by the template code.
Scott
|
|