<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - Library.txt is not being loaded"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=445#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEEDSINFO "
title="NEEDSINFO - Library.txt is not being loaded"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=445">bug 445</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>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:
<span class="quote">> It seems that this can't be called from a macro, probably for good reasons.
> Is there way to avoid manual refreshing? </span >
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:
<span class="quote">> 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. </span >
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:
<a href="https://github.com/fiji/fiji/blob/86622adda86e786dac01e8f7339cba5cb772b50b/macros/StartupMacros.fiji.ijm#L49-L60">https://github.com/fiji/fiji/blob/86622adda86e786dac01e8f7339cba5cb772b50b/macros/StartupMacros.fiji.ijm#L49-L60</a>
?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>