Runs the specified macro or script file in the current thread. The file is assumed to be in the macros folder unless name is a full path. The optional string argument ( arg ) can be retrieved in the called macro or script using the getArgument() function. Returns
(String name, String arg)
| 237 | Returns any string value returned by the macro, or null. Scripts always return null. |
| 238 | The equivalent macro function is runMacro(). */ |
| 239 | public static String runMacroFile(String name, String arg) { |
| 240 | Macro_Runner mr = new Macro_Runner(); |
| 241 | return mr.runMacroFile(name, arg); |
| 242 | } |
| 243 | |
| 244 | /** Runs the specified macro file. */ |
| 245 | public static String runMacroFile(String name) { |
no test coverage detected