Topic: Vedit 'runtime (1 of 9), Read 19 times
Conf: VEDIT Suggestions
From: Ian Binnie
Date: Thursday, December 15, 2005 06:57 PM

Many times I have written macros to perform a specific task, but I am limited in distributing these, because so many people do not have Vedit (despite my attempts to persuade them).

I would like to be able to distribute these in a form that could be executed without Vedit, using some kind of runtime.

Would this be feasible?

At one stage I started to write a C++ Class to emulate Vedit commands, and actually managed to port some macros to an executable, but this was labour intensive, and not all that successful, and kind of defeated the ease of writing them in the first place.

 


Topic: Re: Vedit 'runtime (2 of 9), Read 18 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Thursday, December 15, 2005 07:16 PM

At 06:58 PM 12/15/2005, you wrote:

>Many times I have written macros to perform a specific task, but I am limited in distributing these, because so many people do not have Vedit (despite my attempts to persuade them).
>
>I would like to be able to distribute these in a form that could be executed without Vedit, using some kind of runtime.
>
>Would this be feasible?
>
>At one stage I started to write a C++ Class to emulate Vedit commands, and actually managed to port some macros to an executable, but this was labour intensive, and not all that successful, and kind of defeated the ease of writing them in the first place.

Are you referring to a "command only" version of VEDIT without
the "Visual" mode?

Ted.

 


Topic: Re: Vedit 'runtime (3 of 9), Read 19 times
Conf: VEDIT Suggestions
From: Ian Binnie
Date: Thursday, December 15, 2005 08:49 PM

Yes.

What I would like to do is use my macros to edit/create files - not allow users to view them in Vedit.

For example I have a macro "Extract the Subject from an email, then rename .eml to that name", and a number of others for manipulating email files.

 


Topic: Re: Vedit 'runtime (4 of 9), Read 17 times
Conf: VEDIT Suggestions
From: Ian Binnie
Date: Thursday, December 15, 2005 08:52 PM

On 12/15/2005 8:49:46 PM, Ian Binnie wrote:
>Yes.
>
>What I would like to do is use
>my macros to edit/create files
>- not allow users to view them
>in Vedit.
>
>For example I have a macro
>"Extract the Subject from an
>email, then rename .eml to
>that name", and a number of
>others for manipulating email
>files.

Having just posted the reply, I realise some display may be necessary for error messages etc.

 


Topic: Re: Vedit 'runtime (7 of 9), Read 15 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Saturday, December 17, 2005 01:50 AM

On Thu, 15 Dec 2005 20:52:00 -0500, Ian Binnie wrote:

>>What I would like to do is use
>>my macros to edit/create files
>>- not allow users to view them
>>in Vedit.
>>
>Having just posted the reply, I realise some display may be
>necessary for error messages etc.

Perhaps all normally visible messages could be rerouted to Stdout or
Stderr so that they can be displayed as text or rerouted to a file by
the calling batch file or program.

Christian

 


Topic: Re: Vedit 'runtime (8 of 9), Read 15 times
Conf: VEDIT Suggestions
From: Christian Ziemski
Date: Saturday, December 17, 2005 05:09 AM

On Sat, 17 Dec 2005 01:50:00 -0500, Christian Ziemski wrote:

>On Thu, 15 Dec 2005 20:52:00 -0500, Ian Binnie wrote:
>
>>Having just posted the reply, I realise some display may be
>>necessary for error messages etc.
>
>Perhaps all normally visible messages could be rerouted to Stdout or
>Stderr so that they can be displayed as text or rerouted to a file by
>the calling batch file or program.

Or even better:

A normal Vedit with all visual capabilities, but in complete read-only
mode regarding file and config changes by keyboard and mouse.
Only the running macro is able to change the file(s).

So the macro (if necessary) can be user-friendly with dialogs and
error messages.
Invisible execution is already possible with the -q invocation option.


Christian

 


Topic: Re: Vedit 'runtime (9 of 9), Read 15 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Saturday, December 17, 2005 04:00 PM

At 01:51 AM 12/17/2005, you wrote:

>Perhaps all normally visible messages could be rerouted to Stdout or
>Stderr so that they can be displayed as text or rerouted to a file by
>the calling batch file or program.

VEDIT is not currently designed to output to Stdout, but this certainly is a possibility.

Ted.

 


Topic: Vedit 'runtime (5 of 9), Read 15 times
Conf: VEDIT Suggestions
From: John H
Date: Friday, December 16, 2005 10:17 AM

On Thu, 15 Dec 2005 18:58:58 -0500 GMT, Ian Binnie wrote:

> Many times I have written macros to perform a specific task, but I
> am limited in distributing these, because so many people do not
> have Vedit (despite my attempts to persuade them).

> I would like to be able to distribute these in a form that could
> be executed without Vedit, using some kind of runtime.

> Would this be feasible?

> At one stage I started to write a C++ Class to emulate Vedit
> commands, and actually managed to port some macros to an
> executable, but this was labour intensive, and not all that
> successful, and kind of defeated the ease of writing them in the
> first place.

Sounds like a neat thing! Maybe a use for vedit (dos)?

--
John

 


Topic: Re: Vedit 'runtime (6 of 9), Read 16 times
Conf: VEDIT Suggestions
From: Ted Green
Date: Friday, December 16, 2005 10:47 AM

At 10:19 AM 12/16/2005, you wrote:

>Sounds like a neat thing! Maybe a use for vedit (dos)?

It shouldn't be difficult to exclude entering Visual Mode.
No not with VEDIT-DOS, which just doesn't work right with Win2000 and later.

Ted.