Re: Wait for User
Posted by
Gabriel Landini on
Apr 04, 2008; 2:02pm
URL: http://imagej.273.s1.nabble.com/Wait-for-User-tp3696681p3696682.html
On Friday 04 April 2008 14:44:29 Anneliese Schmaus wrote:
> does anybody have a working "Wait for user" macro, so that I can see
> how it should look like? When I try to run one I always get the
> information
You need to read the functions reference here:
http://rsbweb.nih.gov/ij/developer/macro/functions.html waitForUser(string)
Halts the macro and displays string in a dialog box. The macro proceeds when
the user clicks "OK". Unlike showMessage, the dialog box is not modal, so the
user can, for example, create a selection or adjust the threshold while the
dialog is open. To display a multi-line message, add newline characters
("\n") to string. This function is based on Michael Schmid's Wait_For_User
plugin. Example: WaitForUserDemo. Requires v1.39r.