Class MacroRunner
java.lang.Object
ij.macro.MacroRunner
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a MacroRunner.MacroRunner(Program pgm, int address, String name) Runs a tokenized macro in a separate thread.MacroRunner(Program pgm, int address, String name, Editor editor) Runs a tokenized macro in debug mode if 'editor' is not null.MacroRunner(Program pgm, int address, String name, String argument) Runs a tokenized macro in a separate thread, passing a string argument.MacroRunner(File file) Interprets a macro file in a separate thread.MacroRunner(String macro) Create a new object that interprets macro source in a separate thread.MacroRunner(String macro, String argument) Interprets macro source in a separate thread, passing a string argument. -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Used to run the macro code in 'macro' on a separate thread.voidRuns a tokenized macro on the current thread.voidRuns the specified macro code.voidrunShortcut(Program pgm, int address, String name) Runs tokenized macro on current thread if pgm.queueCommands is true.voidUse the specified Editor to run the macro in debug mode.
-
Constructor Details
-
MacroRunner
public MacroRunner()Create a MacroRunner. -
MacroRunner
Create a new object that interprets macro source in a separate thread. -
MacroRunner
-
MacroRunner
Interprets a macro file in a separate thread. -
MacroRunner
-
MacroRunner
-
MacroRunner
-
-
Method Details
-
run
Runs the specified macro code. -
runShortcut
-
run
-
getThread
-
setEditor
Use the specified Editor to run the macro in debug mode. -
run
-