tferr / Scripts

:microscope::cocktail: Home of the ImageJ BAR: A collection of Broadly Applicable Routines for ImageJ
https://imagej.net/BAR
GNU General Public License v3.0
24 stars 18 forks source link

Jarify IJ1 tools and toolsets #24

Closed tferr closed 7 years ago

tferr commented 7 years ago

Discussed in the forum. The idea is to bundle all IJ1 macro tools (Action Tools, Menu Tools, etc.) and macro toolsets in the main jar file, so that it is easier to run them from MicroManager.

tferr commented 7 years ago

This may be actually hard to implement.

On one hand, Scijava does not seem to support IJ1 macro tools. E.g., this installs no tool in the IJ toolbar:

// @ScriptService s
s.run("test.ijm", "macro 'Test Action Tool - C00bL1de0L1ee1' {showMessage('Tool not clicked');}", false, null);

On the other IJ1's MacroRunner is hardwired to load macro tools exclusively from ij.jar.

tferr commented 7 years ago

This is now implemented in v1.5.1