Login  Register

Re: macros/AutoRun/*.ijm

Posted by dscho on Jul 30, 2013; 9:56pm
URL: http://imagej.273.s1.nabble.com/macros-AutoRun-ijm-tp5002208p5004225.html

Hi Rainer,

On Tue, 30 Jul 2013, Johannes Schindelin wrote:

> On Tue, 30 Jul 2013, Rainer M. Engel wrote:
>
> > Am 18.03.2013 17:41, schrieb Johannes Schindelin:
> > >
> > > On Mon, 18 Mar 2013, Niko Ehrenfeuchter wrote:
> > >
> > >> On 18.03.2013 17:13, Rainer M. Engel wrote:
> > >>
> > >>> that is a nice thought to make things more elegant here.
> > >>
> > >> I absolutely agree with Rainer, this is a very nice feature!
> > >>
> > >> Did I get this right, as soon as you're having a modified
> > >> "StartupMacros.fiji.ijm" the contents of the AutoRun directory will
> > >> be ignored?
> > >
> > > What I meant is: if you modified StartupMacros.fiji.ijm, the updater
> > > will not mark this file for update and therefore you will not get
> > > the new version that looks at macros/AutoRun/.
> > >
> > > Of course, in such a case you could still copy the relevant part
> > > from
> > >
> > > https://github.com/fiji/fiji/blob/master/macros/StartupMacros.fiji.ijm#L48
> > >
> > > and paste it into your locally-modified StartupMacros.fiji.ijm.
> > >
> > > And I completely forgot that StartupMacros.fiji.ijm would not be
> > > executed if there is a StartupMacros.ijm in macros/, either...
> >
> >
> > My StartupMacros doesn't do what it should, I guess. I've downloaded a
> > fresh Fiji for Windows and updated it. I installed "ActionBar" and
> > created an "AutoRun" folder as sub-directory for "macros", but my
> > ActionBar isn't started, although the macro command for itself works..
>
> Niko actually reported this project, although he did so in the
> #fiji-devel chat (which is not quite as visible as the ImageJ mailing
> list).
>
> I'll try very hard to find the time to fix this problem as soon as
> possible!

It turns out that I misread a patch in ImageJ 1.x to be nicer to Fiji than
it actually is: we still have to patch the code to make sure that
StartupMacros.fiji.ijm is run if it exists.

This has been fixed now, along with a couple of other issues, and uploaded
to the update site.

Ciao,
Johannes

P.S.: You may have noticed that Fiji tries to leave 24 hours between
bugging you about updates? So you might have to start it manually by
clicking on Help>Update Fiji.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html