StartupMacros does not reload when using extension *.ijm

Posted by Stein Rørvik on
URL: http://imagej.273.s1.nabble.com/StartupMacros-does-not-reload-when-using-extension-ijm-tp5019674.html

Hello,

As you all know ImageJ macros can have either an *.txt or *.ijm extension.
The latter makes it easy to associate macro files with your preferred text editor with syntax coloring etc.

I noticed that if your StartupMacros file is named <imagejfolder>\macros\StartupMacros.ijm
instead of <imagejfolder>\macros\StartupMacros.txt,
it will not reload when you choose StartupMacros from the >> toolbar menu.
It seems that <ij.jar>\macros\StartupMacros.txt is loaded instead; thus discarding your customizations.

Being able to reload StartupMacros from the >> toolbar menu is very convenient for testing when you are editing it.

If you are instead using a *.txt extension, the >> menu will properly load <imagejfolder>\macros\StartupMacros.txt

This is a bit unexpected behaviour, which perhaps should be corrected?

Stein


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