http://imagej.273.s1.nabble.com/Open-multiple-images-in-a-sequence-batch-tp5015419p5015420.html
Process>Batch>Macro...
> Dear All,
>
> I have a macro that I would like to run as a batch process. I
> expect it to open the file, let me draw a line and then do a few
> operations based on that line. The macro works well on individual
> files. however, when I try to run it as a batch process, instead of
> opening the file it seems to proceed straight to the selection
> step.
>
> I think this is happening because the macro isn't waiting until the
> image is open to proceed to next step. I tried "wait" command but
> had no luck. Also, when I googled about it, I found examples on
> opening image sequence but that is not what I'm looking for. I want
> it to work on all the image files in my directory, sequentially
> without me having to select my file through the open dialog box.
>
> Please, find the macro attached. Any help would be appreciated.
>
> Regards, Ram
>
> -- ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>