// These macros convert all the files in a folder to a different format. // Two dialog boxes are displayed. Select the source folder in the // first and the destination folder in the second. // the macro assumes that the source directory has biorad pic files // present. // once opened this file will be projected in the z axis. // // the macro also assumes that you have the biorad plugin install // (Biorad_Reader.class) as well as the file handler for other // file types (HandleExtraFileTypes.class) // // gma - 28 mar 05 // macro "Batch Convert BioRad to TIFF" {convert("tiff");} function convert(format) { requires("1.33s"); dir1 = getDirectory("Choose Source Directory "); dir2 = getDirectory("Choose Destination Directory "); list = getFileList(dir1); setBatchMode(true); for (i=0; i