Re: window handling

Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/window-handling-tp5017128p5017129.html

Hi Martin,

for macro functions, including those that are no recorded, see
   https://imagej.nih.gov/ij/developer/macro/functions.html

In 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:start

This 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#action

Michael
________________________________________________________________

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