Login  Register

Re: run() and Macro Recorder ignoring calls to getBoolean()

Posted by Neil Fazel on Jul 24, 2014; 5:49pm
URL: http://imagej.273.s1.nabble.com/run-and-Macro-Recorder-ignoring-calls-to-getBoolean-tp5008839p5008885.html

Hi Jan,

   Thanks for the response. I was referring to the dialog that pops up when you have a getBoolean() statement in the ImageJ macro code. It's ignored by the command recorder (Plugins -> Macros -> Record...) when it generates arguments for the run(...) statement. One would expect getBoolean() to get the same treatment from the recorder as getNumber() and getString(). It doesn't and I needed to remove calls to getBoolean() from my code in order to be able to invoke it using run(...).

Best regards,
Neil

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