M
Michael Grigoni
Greetings:
Not having VBA experience and imagining that this could be
of use to many, I hope someone could code a macro to create
a Word (97) doc from TIF file batches.
Scanners typically permit simplex batch scanning (sometimes
requiring a 3rd-party app) of TIF images to a directory;
duplex requires flipping the stack and rescanning to a
different directory. The directory structure for a document
would look like this:
DOCROOT
| |
| PREFACE
| | |
| ODD EVEN
| | |
| | |
| 1.TIF |
| 2.TIF |
| ... |
| (n).TIF |
| |
| 1.TIF
| 2.TIF
| ...
| (n).TIF
|
CHAPTER1
| |
ODD EVEN
... ...
where file names are numerically ascending in the ODD subdirectories
and are numerically descending in the EVEN subdirectories.
The macro should be able to traverse the directory tree starting at
a 'chapter' subdirectory and create the document from alternating
insertions of the TIF files, e.g.:
'insert'-> 'picture'->'from file' PREFACE/ODD/1.TIF,
next PREFACE/EVEN/(n).tif, next PREFACE/ODD/2.TIF,
next PREFACE/EVEN/(n-1).TIF... to PREFACE/EVEN/(n).TIF
and then save the document to ../DOC/<chapter dir>.doc, e.g.:
..\doc\preface.doc.
The macro would be manually started in the chapter subdirectory.
No text or other material will be added to the document; it is
solely a collection of TIF images converted to Word.
Useful features would be to sanity check the ODD and EVEN subdirs
for equal number of files and monotonicity of filenames.
Surprisingly I have not found such a macro or other tool to
create Word docs from batch TIF scans; there is an abundance
of PDF assemblers however.
All replies much appreciated.
Michael Grigoni
Cybertheque Museum
Not having VBA experience and imagining that this could be
of use to many, I hope someone could code a macro to create
a Word (97) doc from TIF file batches.
Scanners typically permit simplex batch scanning (sometimes
requiring a 3rd-party app) of TIF images to a directory;
duplex requires flipping the stack and rescanning to a
different directory. The directory structure for a document
would look like this:
DOCROOT
| |
| PREFACE
| | |
| ODD EVEN
| | |
| | |
| 1.TIF |
| 2.TIF |
| ... |
| (n).TIF |
| |
| 1.TIF
| 2.TIF
| ...
| (n).TIF
|
CHAPTER1
| |
ODD EVEN
... ...
where file names are numerically ascending in the ODD subdirectories
and are numerically descending in the EVEN subdirectories.
The macro should be able to traverse the directory tree starting at
a 'chapter' subdirectory and create the document from alternating
insertions of the TIF files, e.g.:
'insert'-> 'picture'->'from file' PREFACE/ODD/1.TIF,
next PREFACE/EVEN/(n).tif, next PREFACE/ODD/2.TIF,
next PREFACE/EVEN/(n-1).TIF... to PREFACE/EVEN/(n).TIF
and then save the document to ../DOC/<chapter dir>.doc, e.g.:
..\doc\preface.doc.
The macro would be manually started in the chapter subdirectory.
No text or other material will be added to the document; it is
solely a collection of TIF images converted to Word.
Useful features would be to sanity check the ODD and EVEN subdirs
for equal number of files and monotonicity of filenames.
Surprisingly I have not found such a macro or other tool to
create Word docs from batch TIF scans; there is an abundance
of PDF assemblers however.
All replies much appreciated.
Michael Grigoni
Cybertheque Museum