macro doubt

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

macro doubt

Airen Zaldívar Peraza
Hi all, I have a doubt about macros on toolbar. I hope you can help me.
I raise an ImageJ window dinamically from my application, and install a
macro on toolbar.
This allows me to be able to work with my tool on an image and switch to
imagej tools also.
The problem is that I try to set up my tool before showing application, but
it does not work.
I do this through command IJ.setTool(tool). However tool name its ok(I use
getToolName() and matches the tool name), just that this command
does not seem to work for custom tools. Any help would be appreciated.

Regards, Airen
Reply | Threaded
Open this post in threaded view
|

Re: macro doubt

Rasband, Wayne (NIH/NIMH) [E]
On Sep 5, 2011, at 11:00 AM, Airen Zaldívar Peraza wrote:

> Hi all, I have a doubt about macros on toolbar. I hope you can help me.
> I raise an ImageJ window dinamically from my application, and install a
> macro on toolbar.
> This allows me to be able to work with my tool on an image and switch to
> imagej tools also.
> The problem is that I try to set up my tool before showing application, but
> it does not work.
> I do this through command IJ.setTool(tool). However tool name its ok(I use
> getToolName() and matches the tool name), just that this command
> does not seem to work for custom tools. Any help would be appreciated.

This bug is fixed in the ImageJ 1.45o daily build.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: macro doubt

Airen Zaldívar Peraza
Thanks Wayne, I have updated my IJ to daily build and worked

On Mon, Sep 5, 2011 at 9:02 PM, Rasband, Wayne (NIH/NIMH) [E] <
[hidden email]> wrote:

> On Sep 5, 2011, at 11:00 AM, Airen Zaldívar Peraza wrote:
>
> > Hi all, I have a doubt about macros on toolbar. I hope you can help me.
> > I raise an ImageJ window dinamically from my application, and install a
> > macro on toolbar.
> > This allows me to be able to work with my tool on an image and switch to
> > imagej tools also.
> > The problem is that I try to set up my tool before showing application,
> but
> > it does not work.
> > I do this through command IJ.setTool(tool). However tool name its ok(I
> use
> > getToolName() and matches the tool name), just that this command
> > does not seem to work for custom tools. Any help would be appreciated.
>
> This bug is fixed in the ImageJ 1.45o daily build.
>
> -wayne
>