Posted by
Braekevelt Martin on
URL: http://imagej.273.s1.nabble.com/action-bar-tp5021846p5021849.html
Dear Jerome,
Thanks a lot it is working perfectly. One more question if I may.
How can I have the action bar opened when ImageJ is starting up ?
Thanks in advance.
Kindest regards,
Martin.
-----Original Message-----
From: ImageJ Interest Group <
[hidden email]> On Behalf Of Jerome Mutterer
Sent: Wednesday, February 27, 2019 8:31 AM
To:
[hidden email]
Subject: Re: action bar
Dear Martin,
Using the macro recorder, record the command that starts your plugin of interest. What you get is what you can use in your button's code to start this plugin.
For example, this run statement starts the Bio-Formats importer:
run("Bio-Formats Importer", "");
Some plugins also provide methods that can be accessed from macros using the 'call' macro function explained here
https://imagej.nih.gov/ij/macros/CallJavaDemo.txtSincerely,
Jerome.
Le mer. 27 févr. 2019 à 07:33, Braekevelt Martin <
[hidden email]> a écrit :
> Dear,
>
> I want to assign 2 plugins and one macro to a small action bar
> consisting of 3 buttons, just for the ease of use for operators. I
> want this action bar start during the start up of Image J so that
> operators not need to look for it.
> I have already made some action bars with macro's so that's not the
> problem.
> I have read the pdf file from Jerome Mutterer, but I couldn't find any
> info how to include plugins although it is mentioned that plugins can
> be assigned.
> Can someone help me with this issue please ?
>
> Kindest regards,
> Martin.
>
> ::DISCLAIMER:: This e-mail is confidential and intended for use by the
> addressee only. If you are not the intended recipient, please notify
> us immediately and delete this e-mail, as well as any attachment.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html