Login  Register

Re: macro run ("make binary") doesn't work

Posted by Michael Schmid on Feb 20, 2008; 10:08am
URL: http://imagej.273.s1.nabble.com/macro-run-make-binary-doesn-t-work-tp3697115p3697116.html

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]