MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / runMacro

Method runMacro

ij/src/main/java/ij/IJ.java:217–219  ·  view source on GitHub ↗

Runs the macro contained in the string macro on the current thread. Returns any string value returned by the macro, null if the macro does not return a value, or "[aborted]" if the macro was aborted due to an error. The equivalent macro function is eval().

(String macro)

Source from the content-addressed store, hash-verified

215 "[aborted]" if the macro was aborted due to an error. The
216 equivalent macro function is eval(). */
217 public static String runMacro(String macro) {
218 return runMacro(macro, "");
219 }
220
221 /** Runs the macro contained in the string <code>macro</code>
222 on the current thread. The optional string argument can be

Callers 11

runUserPlugInMethod · 0.95
sendArgumentMethod · 0.95
runCommandMethod · 0.95
main0Method · 0.95
runMethod · 0.95
runMacroMethod · 0.95
openURLMethod · 0.95
itemStateChangedMethod · 0.95
runCodeMethod · 0.95
openZipMethod · 0.95
drawShapeMethod · 0.95

Calls 1

runMacroMethod · 0.95

Tested by

no test coverage detected