Hi,
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 Undefined variable in line 1 <package> ij.gui; What do I have to change? Anneliese |
Hi,
if it´s a *macro* , there is no package statement (not a Java plugin) also, see here http://imagejdocu.tudor.lu/imagej-documentation-wiki/plugins/wait_for_user Cheers JW Anneliese Schmaus <anneliese.schmau [hidden email]> An Gesendet von: [hidden email] ImageJ Interest Kopie Group <[hidden email]. Thema GOV> Wait for User 04.04.2008 15:44 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Hi, 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 Undefined variable in line 1 <package> ij.gui; What do I have to change? Anneliese ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
In reply to this post by Anneliese Schmaus
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. |
Free forum by Nabble | Edit this page |