Macro retrieving its own name?
Posted by Martin Höhne on May 13, 2015; 9:53am
URL: http://imagej.273.s1.nabble.com/Macro-retrieving-its-own-name-tp5012830.html
Dear List,
is there a way to retrieve the name of a macro from the macro itself?
My aim would be to add the name of the macro an image was processed with to the metadata of that image. Something like:
macroname = unknownfunctiontoretrievethemacroname();
setMetadata("Info", "This image was processed with this macro: "+ macroname);
Best,
Martin