List Opener

Author: Wayne Rasband (wsr at
History: 2001/05/30: First version
2004/02/16: Errors listed in "Log" window
Installation: Download List_Opener.class to the plugins folder and restart ImageJ.
Description: This plugin opens images from a text file list. The list can contain full paths or just file names. If a full path is not used the file is assumed to be in the directory that contains the text file list. Errors messages are displayed in the "Log" window.

A macro can also be used to open images from a text file list. Here is an example:

macro "OpenImagesFromList" {     
    contents = getInfo();
    if (indexOf(contents, "Title: ")>=0)
        exit("Text file containing list of files expected");
    list = split(contents, "\n");
    for (i=0; i<list.length; i++)

|Plugins | Home |