Login  Register

Macro vs. Script, where to start

Posted by Rainer M. Engel on Oct 10, 2019; 11:47am
URL: http://imagej.273.s1.nabble.com/Macro-vs-Script-where-to-start-tp5022518.html

I'm not a developer by profession, but became more and more accustomed
to it over the years. I started with small macros and want to sum up,
what is/was making this language attractive for the use within ImageJ.


Macro-Language:.......................................................
Macros can be recorded inside of ImageJ Plugins>Macros>Record and
extended by some logic found here:
https://imagej.nih.gov/ij/developer/macro/macros.html

Using Fiji's script editor for macros helps you finding the right
function you may need, at least to the same extend useful to me is this
overview with all built-in functions:
https://imagej.nih.gov/ij/developer/macro/functions.html


Script-Languages:.....................................................
To automate things inside of ImageJ the Recorder (see above) can be
changed to output a desired language.
There are many examples available within the script editor of Fiji under
"Templates", or on other ImageJ/Fiji related websites and to some extent
the interactive search bar helps to find these.

What I'm missing is some method overview like the macro language offers
for it's functions to make a text search, because often you know what to
achieve but you miss the spelling of a potential method/function.

What IDE you would recommend for Jython, where I can see all available
methods of imported classes like Fiji's script editor is providing for
the macro language?

Are there resources (easily searchable) to find fitting methods of
classes closely related to ImageJ or how do you achieve finding these?


Thank you in advance and I hope this will help others as well..

Kind regards,
Rainer

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html