Re: Problem with "&variable" in run() macro statement
Posted by
José María Mateos on
Aug 28, 2013; 9:20am
URL: http://imagej.273.s1.nabble.com/Problem-with-variable-in-run-macro-statement-tp5004565p5004588.html
2013/8/28 Rasband, Wayne (NIH/NIMH) [E] <
[hidden email]>:
> The GenericDialog.getNextChoice() method expects a string so you can work around the problem by calling the plugin using a macro something like
>
> frames = "5";
> run("Average Frames", "first=1 last=&frames");
Aaaaaaah, OK. Didn't think of that. My bad.
Thanks a lot for the quick answer to everyone.
Best,
José.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html