Topic: Demo for the new Dir_Date() in VEDIT 6.12. (1 of 6), Read 40 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Saturday, June 19, 2004 06:38 AM


Here a little demo macro for the new Dir_Date() commmand introduced in
VEDIT 6.12.


http://ziemski.privat.t-online.de/vedit/macros/ddir-rec.vdm

Additionally to the "normal" command this macro is able to walk
through a directory with its subdirectories included (recursively).

It lets you choose from these options:
- no subdirectories
- with subdirectories (not listed in parent list)
- with subdirectories (listed in parent list)
- one list with absolute path/filenames for all files
- one list with relative path/filenames for files in subdirectories


With the new Dir_Date() command it's *much* easier to work with
file-lists since the macro no longer has to shell out to Windows to
get the directory listing.
And it's no longer necessary to check the Windows version with it's
different formats and local configurations!

Themacro is running fine so far, but I'll have to optimize it a bit.
Later.


Christian

 


Topic: Re: Demo for the new Dir_Date() in VEDIT 6.12. (2 of 6), Read 29 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Sunday, July 11, 2004 05:50 PM

At 06:39 AM 6/19/2004, you wrote:
>From: "Christian Ziemski"
>
>Here a little demo macro for the new Dir_Date() commmand introduced in
>VEDIT 6.12.
>
>
>http://ziemski.privat.t-online.de/vedit/macros/ddir-rec.vdm

Christian:

Thank you for the interesting macro. I will include it in vedit/user-mac directory in future versions.

Ted.

 


Topic: Re: Demo for the new Dir_Date() in VEDIT 6.12. (3 of 6), Read 30 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Monday, July 12, 2004 10:29 AM

On 7/11/2004 5:50:21 PM, Ted Green wrote:
>At 06:39 AM 6/19/2004, you wrote:
>>
>>Here a little demo macro for the new Dir_Date() commmand introduced in VEDIT 6.12. : ddir-rec.vdm
>
>Thank you for the interesting macro. I will include it in
>vedit/user-mac directory in future versions.

I'm feeling some headache when you'll supply macros into the user-mac directory (user-mac is expected to be safe user space).
Since some weeks you are already doing that with Pauli's color *.set files, I know.

The INSTALLW.VDM macro shows that the files are only copied into user-mac if they are not already there.

So far so good. But this way no one will ever see new versions of those supplied files.
The install macro deletes those files from the source directory, independent of successfully copying or not.

What about leaving them in the source (=HOME) directory if they are not copied to user-mac due to existence?

This way the most current version always is available and no user macro or user-modified macro will be overwritten.


Christian

 


Topic: Re: Demo for the new Dir_Date() in VEDIT 6.12. (4 of 6), Read 30 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Monday, July 12, 2004 10:54 AM

At 10:29 AM 7/12/2004, you wrote:
>I'm feeling some headache when you'll supply macros into the user-mac directory (user-mac is expected to be safe user space).
>Since some weeks you are already doing that with Pauli's color *.set files, I know.
>
>The INSTALLW.VDM macro shows that the files are only copied into user-mac if they are not already there.
>
>So far so good. But this way no one will ever see new versions of those supplied files.
>The install macro deletes those files from the source directory, independent of successfully copying or not.

I see your point.

Perhaps I should implement a new directory "vedit\examples" for preliminary macros, or perhaps just put then on a webpage which can be accessed from the VEDIT menu. A webpage is probably better because it can include a nice description of the macros.

Ted.

 


Topic: Re: Demo for the new Dir_Date() in VEDIT 6.12. (5 of 6), Read 20 times
Conf: VEDIT Macro Library
From: Peter Rejto
Date: Friday, September 24, 2004 05:02 PM

On 7/12/2004 10:54:34 AM, Ted Green wrote:
>I see your point.
>
>Perhaps I should implement a
>new directory "vedit\examples"
>for preliminary macros, or
>perhaps just put then on a
>webpage which can be accessed
>from the VEDIT menu. A webpage
>is probably better because it
>can include a nice description
>of the macros.

>Ted.
>

Gentlemen:

I find your discussion interesting and I tried to follow it up. I sure was glad to see my "vedit\examples" directory in my Vedit 6.13 installation. I had hoped to find Christian's macro there, but did not succseed. I certainly would appreciate having it there at the next release.


Now let me give you a self survey: One of my favorite 6.13 macros is the {Misc, More Macros, Ren-Files} macro. I would like to know where does Vedit look for this macro? I tried to search in my Win2K for Ren-Files.vdm but no luck.


-peter.

 


Topic: Re: Demo for the new Dir_Date() in VEDIT 6.12. (6 of 6), Read 19 times
Conf: VEDIT Macro Library
From: Christian Ziemski
Date: Friday, September 24, 2004 05:19 PM

On Fri, 24 Sep 2004 17:02:00 -0400, Peter Rejto wrote:

>I had hoped to find Christian's macro there, but did not succseed.

macros\ddir-rec.vdm

>Now let me give you a self survey: One of my favorite 6.13 macros is the
>{Misc,More Macros, Ren-Files} macro. I would like to know where does Vedit
>look for this macro?

macros\ren-file.vdm


Christian