[ImageJ-bugs] [Bug 445] Library.txt is not being loaded
bugzilla at fiji.sc
bugzilla at fiji.sc
Mon Apr 6 17:19:42 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=445
--- Comment #7 from Curtis Rueden <ctrueden at wisc.edu> ---
I am closing this bug, since the description is "Library.txt is not being
loaded" and it seems that it is now, in fact, being loaded as expected. A step
forward. ;-)
Chris wrote:
> It seems that this can't be called from a macro, probably for good reasons.
> Is there way to avoid manual refreshing?
Well, I think it can be called from a macro. It just shows that popup dialog
box now. We added that on purpose so that people are aware that "Refresh Menus"
doesn't do a complete job of actually refreshing the menus anymore. But perhaps
we should not show that message in macro mode...
Chris wrote:
> What I want to do is for my macro to update the helper functions by
> cat’ing all the *.ijm files some directory to Library.txt, refresh
> the macro list, then be able to user the function from Library.txt.
I'd like to understand your use case. Do you require this sort of dynamic
updating without restarting ImageJ? Or would it be enough for your Library.txt
to use a trick similar to:
https://github.com/fiji/fiji/blob/86622adda86e786dac01e8f7339cba5cb772b50b/macros/StartupMacros.fiji.ijm#L49-L60
?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150406/4b4edb89/attachment-0001.html>
More information about the Imagej-bugs
mailing list