/** Runs the macro contained in the string <code>macro</code>. The optional string argument can be retrieved in the called macro using the getArgument() macro function. 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. */ public static String runMacro(String macro, String arg) { Macro_Runner mr = new Macro_Runner(); return mr.runMacro(macro, arg); }
return runMacro(macro, arg); else return null;
return runPython(macro, arg); else return runMacro(macro, arg);
return runMacro(macro, arg); else return null;
return runPython(macro, arg); else return runMacro(macro, arg);
/** Runs the macro contained in the string <code>macro</code>. The optional string argument can be retrieved in the called macro using the getArgument() macro function. 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. */ public static String runMacro(String macro, String arg) { Macro_Runner mr = new Macro_Runner(); return mr.runMacro(macro, arg); }
return (new Macro_Runner()).runMacro(macro, arg); else return null;
return (new Macro_Runner()).runMacro(macro, arg); else return null;