You do know that you can do things like this within DX using modules
like Format and the Sequencer to construct strings that can then be
fed into the Import module and a Caption module, don't you? You can
also use the -scriptcmd command line option that would allow you to
do something like
dx -script caption.net -scriptcmd 'file = "picture1.tiff"; captionStr
= "Picture 1"'
David
Changing filenames can surely be achieved by a different way, but for changing
a textsting for example in a net file m4 seemd very helpful for me. The
following example just produces an image with a textstring. The textstring
and the filename of the tiff picture can be changed by:
m4 -DFILENAME=picture1.tiff -DTEXTSTRING="Picture 1" caption.net.m4 >
caption.net
dx -script caption.net
I think it is not too complicated, as you can use your already existing net
files, just change the filenames, textstrings, etc into keywords and process
it with m4. If you have a better way of doing this, please let me know.
Alex
--
.............................................................................
David L. Thompson Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472