Macro
ij

Class Macro



  • public class Macroextends Object
    The class contains static methods that perform macro operations.
    • Constructor Detail

      • Macro

        public Macro()
    • Method Detail

      • open

        public static boolean open(String path)
      • saveAs

        public static boolean saveAs(String path)
      • abort

        public static void abort()
        Aborts the currently running macro or any plugin using IJ.run().
      • getOptions

        public static String getOptions()
        If a command started using run(name, options) is running, and the current thread is the same thread, returns the options string, otherwise, returns null.
        See Also:
        GenericDialog, OpenDialog
      • setOptions

        public static void setOptions(String options)
        Define a set of Macro options for the current Thread.
      • setOptions

        public static void setOptions(Thread thread,              String options)
        Define a set of Macro options for a Thread.

SCaVis 2.2 © jWork.ORG