At 03:24 PM 3/31/2005, you wrote:
>Is there a way to pass information to a vedit macro when starting the macro from a command line?
Yes. After any options and filenames, specify "-u" and anything after it that you like. (In other words, the invocation processing stops on "-u".)
Since the string variable CMD_LINE contains the entire invocation line, you can insert it into a buffer, search for "-u" and handle anything after it any way you like.)
See the compdir.vdm macro for an example.
Ted.
|
|