// "FixLineEndings" // This macro converts the line separator characters // of text files in a specified directory to those of the // platform ImageJ is currently running on. extensions = newArray(".java", ".txt", ".ijm"); requires("1.35s"); dir = getDirectory("Choose a Directory "); count = 1; fixFiles(dir); function fixFiles(dir) { list = getFileList(dir); for (i=0; i