Good day,
I am having trouble running my macro which has run ("Make Binary") within it. I am getting the error that says Unrecognized command: Make Binary. I don't know why, this is what i got from recording my commands from Plugins->Macro->Record. thanks! any help would be greatly appreciated. christine ------------------------------------------------------------------- Christine T. Clarin UP Department of Computer Science Work/Fax: (02) 434-3877 Mobile: (+63917) 482-3606 Email: [hidden email] |
Hi Christine,
on my computer it works without problems with ImageJ 1.39s. It is hard to imagine that a command recorded as run(String) does not work. If there is a problem, all of these commands should fail, e.g. run("Invert"); should also fail. Maybe you have some hidden unprintable characters in the command? (view the macro with a hex editor or delete the line and type it again). Also note that commands are case-sensitive and also sensitive to spaces etc.: run("make binary") and run ("Make Binary") won't work. A remote possibility is a .jar file in the plugins or a corrupt IJ_Prefs.txt file that redefines the Make Binary command. Michael ________________________________________________________________ On 20 Feb 2008, at 05:01, Chris Clarin wrote: > Good day, > > I am having trouble running my macro which has run ("Make Binary") > within > it. I am getting the error that says Unrecognized command: Make > Binary. I > don't know why, this is what i got from recording my commands from > Plugins->Macro->Record. > > thanks! any help would be greatly appreciated. > > christine > ------------------------------------------------------------------- > Christine T. Clarin > UP Department of Computer Science > Work/Fax: (02) 434-3877 > Mobile: (+63917) 482-3606 > Email: [hidden email] |
thank you for the reply -- it still doesn't work for me =( i exchanged it
with running setAutoThreshold() and apply lut instead -- i saw it in one of the old macros and thought it would work and so far it does. as of now, all the others like invert, fill holes, etc. works but the remove outliers function does not work...but all the others does... i'm using imagej1.38. i'll try it with 1.39 thank you very much! chris On Wed, Feb 20, 2008 at 6:08 PM, Michael Schmid <[hidden email]> wrote: > Hi Christine, > > on my computer it works without problems with ImageJ 1.39s. > > It is hard to imagine that a command recorded as run(String) > does not work. If there is a problem, all of these commands > should fail, e.g. run("Invert"); should also fail. > > Maybe you have some hidden unprintable characters in the > command? (view the macro with a hex editor or delete the line > and type it again). > Also note that commands are case-sensitive and also sensitive > to spaces etc.: run("make binary") and run ("Make Binary") > won't work. > > A remote possibility is a .jar file in the plugins or a corrupt > IJ_Prefs.txt file that redefines the Make Binary command. > > > Michael > ________________________________________________________________ > > On 20 Feb 2008, at 05:01, Chris Clarin wrote: > > > Good day, > > > > I am having trouble running my macro which has run ("Make Binary") > > within > > it. I am getting the error that says Unrecognized command: Make > > Binary. I > > don't know why, this is what i got from recording my commands from > > Plugins->Macro->Record. > > > > thanks! any help would be greatly appreciated. > > > > christine > > ------------------------------------------------------------------- > > Christine T. Clarin > > UP Department of Computer Science > > Work/Fax: (02) 434-3877 > > Mobile: (+63917) 482-3606 > > Email: [hidden email] > -- ------------------------------------------------------------------- Christine T. Clarin UP Department of Computer Science Work/Fax: (02) 434-3877 Mobile: (+63917) 482-3606 Email: [hidden email] |
On Thursday 21 February 2008 03:13:48 Chris Clarin wrote:
> thank you for the reply -- it still doesn't work for me =( i exchanged it > with running setAutoThreshold() and apply lut instead -- i saw it in one of > the old macros and thought it would work and so far it does. > > as of now, all the others like invert, fill holes, etc. works but the > remove outliers function does not work...but all the others does... i'm > using imagej1.38. i'll try it with 1.39 This works fine here: run("Gel (105K)"); setThreshold(0, 114); run("Convert to Mask"); and so does this one: run("Gel (105K)"); setThreshold(0, 114); run("Make Binary", "thresholded remaining"); |
In reply to this post by Chris Clarin
Thank you very much for all your help, i have already found the solution to
my problem. It turns out that the imagej jar that i am using is corrupted as i am using the one inside the macro-runner.zip file. I transferred a fresh imagej jar file in a folder where my macros are and now everything's working perfectly! thank you very much and sorry for the false alarm. chris On Thu, Feb 21, 2008 at 5:38 PM, Michael Schmid <[hidden email]> wrote: > Hi Christine, > > probably you should do the update first. There was a problem > with macros that create a new image - it was solved in 1.39 f. > Maybe this is what causes your problems. > > As the "Romove Outliers" function is based on my code, I think > Wayne would have told me about problems associated with it, > but I don't remember any. So if you have trouble with it, let > me know, please. > > Michael > ________________________________________________________________ > Michael Schmid email: [hidden email] > Institut fuer Allgemeine Physik, Technische Universitaet Wien > Wiedner Hauptstr. 8-10/134, A 1040 Wien, Austria > Tel. +43 1 58801-13452 or -13453, Fax +43 1 58801 13499 > ________________________________________________________________ > > On 21 Feb 2008, at 04:13, Chris Clarin wrote: > > > thank you for the reply -- it still doesn't work for me =( i > > exchanged it > > with running setAutoThreshold() and apply lut instead -- i saw it > > in one of > > the old macros and thought it would work and so far it does. > > > > as of now, all the others like invert, fill holes, etc. works but > > the remove > > outliers function does not work...but all the others does... i'm using > > imagej1.38. i'll try it with 1.39 > > > > thank you very much! > > > > chris > > > > On Wed, Feb 20, 2008 at 6:08 PM, Michael Schmid > > <[hidden email]> > > wrote: > > > >> Hi Christine, > >> > >> on my computer it works without problems with ImageJ 1.39s. > >> > >> It is hard to imagine that a command recorded as run(String) > >> does not work. If there is a problem, all of these commands > >> should fail, e.g. run("Invert"); should also fail. > >> > >> Maybe you have some hidden unprintable characters in the > >> command? (view the macro with a hex editor or delete the line > >> and type it again). > >> Also note that commands are case-sensitive and also sensitive > >> to spaces etc.: run("make binary") and run ("Make Binary") > >> won't work. > >> > >> A remote possibility is a .jar file in the plugins or a corrupt > >> IJ_Prefs.txt file that redefines the Make Binary command. > >> > >> > >> Michael > >> ________________________________________________________________ > >> > >> On 20 Feb 2008, at 05:01, Chris Clarin wrote: > >> > >>> Good day, > >>> > >>> I am having trouble running my macro which has run ("Make Binary") > >>> within > >>> it. I am getting the error that says Unrecognized command: Make > >>> Binary. I > >>> don't know why, this is what i got from recording my commands from > >>> Plugins->Macro->Record. > >>> > >>> thanks! any help would be greatly appreciated. > >>> > >>> christine > >>> ------------------------------------------------------------------- > >>> Christine T. Clarin > >>> UP Department of Computer Science > >>> Work/Fax: (02) 434-3877 > >>> Mobile: (+63917) 482-3606 > >>> Email: [hidden email] > >> > > > > > > > > -- > > ------------------------------------------------------------------- > > Christine T. Clarin > > UP Department of Computer Science > > Work/Fax: (02) 434-3877 > > Mobile: (+63917) 482-3606 > > Email: [hidden email] > > -- ------------------------------------------------------------------- Christine T. Clarin UP Department of Computer Science Work/Fax: (02) 434-3877 Mobile: (+63917) 482-3606 Email: [hidden email] |
Free forum by Nabble | Edit this page |