|
Bluepoint Design |
![]() |
| Practical cost effective solutions | |
| Macro Express Sample Macro: Date String From File Date |
|
|
|
This macro creates a reverse order date
string from a file. The file name is passed from the parent to here where
the date values are extracted and assembled into a reverse date order to
be passed back to the parent. This is handy for file renames where you
would like the files to keep the original file date and be in
chronological order when sorted by name. I fond that the files are often
moved to other machines causing it to loose the date stamp and also in
some of my filing protocols we require the date first in YYYY-MM-DD
format. However there are many uses for this. You will need to write the file name complete with path to the feedback registry value and after the macro completes read it back into whatever variable you like. The sample file is a complete Macro express file. Simply open it with ME and run the demo macro. Page last updated: 02/05/2008
Here is a demonstration of how it works.
|
|||||||||||||
|
|
|
||||||||||||||
| Practical cost effective solutions | |||||||||||||||