line = line.substring(2);
sb.append(line);
sb.append('\n');
}
}
NewPlugin np = (NewPlugin)IJ.runPlugIn("ij.plugin.NewPlugin", new String(sb));
Editor ed = np.getEditor();
String title = getTitle();
if (title.equals("Macro.txt")||title.equals("Macro.ijm"))
title = "Converted_Macro";
if (title.endsWith(".txt")||title.endsWith(".ijm")) title = title.substring(0, title.length()-4);
if (title.indexOf('_')==-1) title += "_";