Hi Albert,<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">Is ImageJ 2.0 implementing a recording system similar to the Macro<br>
recording in ImageJ 1.x?<br></blockquote>
<br>Nice question, and sorry for the long delay in reply.<br><br>Are we implementing it? Not yet. Do we plan to? Absolutely. Best estimate would be for one of the betas this summer, hopefully 2.0-beta1 for July 1st, or else 2.0-beta2 for August 1st.<br>

<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">Will this recording system be generic, i.e. able to emit the commands<br>
and their arguments, so that then a translator can emit a recording in<br>
any language (java, jython, etc.)?<br></blockquote>
<br>The idea is that commands publish an event when executed, which informs interested parties (&quot;subscribers&quot;) that a command has run. This part is already done, and the infrastructure is actually quite fine-grained. See the code here:<br>

<br><a href="http://dev.imagejdev.org/trac/imagej/browser/trunk/core/plugin/src/main/java/imagej/plugin/PluginRunner.java?rev=2657#L61">http://dev.imagejdev.org/trac/imagej/browser/trunk/core/plugin/src/main/java/imagej/plugin/PluginRunner.java?rev=2657#L61</a><br>

<br>The plugin runner notifies when a plugin starts, when it finishes, and which preprocessors and postprocessors are called. It passes along the PluginModule instance which can be queried for its parameter types, values and more. So there should be a hook at every step of the way, for any third-party code (including the future macro recording system) that wants to intervene or just be aware of the status.<br>

<br>Regards,<br>Curtis<br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 4:06 AM, Albert Cardona <span dir="ltr">&lt;<a href="mailto:sapristi@gmail.com">sapristi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Is ImageJ 2.0 implementing a recording system similar to the Macro<br>
recording in ImageJ 1.x?<br>
<br>
Will this recording system be generic, i.e. able to emit the commands<br>
and their arguments, so that then a translator can emit a recording in<br>
any language (java, jython, etc.)?<br>
<br>
I recall that is the case, but just checking!<br>
<br>
Albert<br>
<font color="#888888"><br>
--<br>
<a href="http://albert.rierol.net" target="_blank">http://albert.rierol.net</a><br>
<br>
_______________________________________________<br>
ImageJ-devel mailing list<br>
<a href="mailto:ImageJ-devel@imagejdev.org">ImageJ-devel@imagejdev.org</a><br>
<a href="http://imagejdev.org/mailman/listinfo/imagej-devel" target="_blank">http://imagejdev.org/mailman/listinfo/imagej-devel</a><br>
</font></blockquote></div><br>