NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- July 2004 (#168)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (July 2004) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

References: <[log in to unmask]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-ID:  <[log in to unmask]>
Date:         Mon, 26 Jul 2004 10:41:33 -0500
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Wayne Rasband <[log in to unmask]>
Subject:      Re: macro help
In-Reply-To:  <[log in to unmask]>

> Using the recorder I get something like > > run("ROC ", "select=file1 select=file2") > > Here the problem is the same file (file1) is used for both > file1 and file2. Thanks. This is because the same keyword ("select") is used for both files. Keywords are based on the first word of the corresponding GenericDialog label. Change the labels from something like "Select Source Image:" "Select Destination Image:" to "Source Image:" "Destination Image:" and the recorder will generate unique keywords. run("ROC ", "source=file1 destination=file2") The recorder in ImageJ 1.33i will generate an error message when it detects a duplicate keyword. -wayne




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon