I was not able to execute net files with a sequencer in batch mode. So this 
was not an option for me. Also when the name e.g. is not computable a 
sequencer will  not be helpful. 
The scriptcmd option seems an option for me. I dod not know this command 
before.

Alex

> 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

Reply via email to