Re: active mouse within a macro
Posted by
Ali_ on
Nov 13, 2015; 10:15am
URL: http://imagej.273.s1.nabble.com/active-mouse-within-a-macro-tp5014856p5014943.html
For this problem, the waitForUser command is perhaps the best solution. Also if you get occasional error messages, you can add a short delay afterwards:
waitForUser(Message);
wait(1);
For other problems, in which stable interaction with mouse is needed, this macro (interactive flow diagram) may be helpful:
http://www.zmbh.de/Central_Services/Imaging_Facility/2D_Imagej_Macros.html#M5
Jeremy Adler wrote
I would like to use the mouse within a macro to select a pair of images to process - I can't see how.
I can give the images names before the macro runs and use the names within the macro, but it would be much less just to select them with the mouse.
Suggestions would be appreciated.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html