Posted by
Braekevelt Martin on
URL: http://imagej.273.s1.nabble.com/window-handling-tp5017128p5017140.html
Dear Michael,
Thanks for the help.
Maybe a stupid question but where can I find the icons to customize my own created action bar ?
I only can find some color icons /buttons in the icons folder.
Thanks in advance,
Kindest regards,
Martin.
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Michael Schmid
Sent: Monday, August 29, 2016 3:52 PM
To:
[hidden email]
Subject: Re: window handling
Hi Martin,
for macro functions, including those that are no recorded, see
https://imagej.nih.gov/ij/developer/macro/functions.htmlIn your case, it's probably the setLocation functions that you are interested in
https://imagej.nih.gov/ij/developer/macro/functions.html#setLocation---
For a button to start the macro, you can use the ActionBar plugin by Jerome Mutterer:
http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:startThis will give you a separate panel with any number of buttons you like.
You can also use one of the fields in the ImageJ main panel for an 'Action tool', see
https://imagej.nih.gov/ij/developer/macro/macros.html#actionMichael
________________________________________________________________
On 2016-08-29 10:02, Braekevelt Martin wrote:
> Hi all,
>
> I am just starting using imageJ and do some macro recording. I can't
> find the code/parameter to program the size of the image window. I
> want to have a fixed size and fixed position on my screen. Also how
> can I program that the macro comes as a button in the menu bar.
> Thanks in advance for the help.
>
> Kindest regards,
>
> Martin Braekevelt
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html