imagej / imagej-legacy

ImageJ+ImageJ2 compatibility layer
https://imagej.net/libs/imagej-legacy
BSD 2-Clause "Simplified" License
16 stars 25 forks source link

Make array input macro-recordable #200

Open LauLauThom opened 6 years ago

LauLauThom commented 6 years ago

Currently when recording a macro that contains a file array input like : #@ File[] (label="List of images to process", style="file") listfile the result in the macro recorder is listfile=[Ljava.io.File;@6dd26576 which is the array object.

However this means we cannot call the macro within another macro with a list of file paths like listfile=["/path/to/file1", "/path/to/file2", "/path/to/another/file"]

This is referenced in this forum post.