Check if a plugin is available

Dear ImageJ users,

I would like to assert, that a specific plugin is available in my ImageJ macro, i.e.:
I want to assert that the Plugin Coloc2 (I think it’s in Fiji) is available.

Can I assert that from within the ImageJ macro language?

Best regards,

Assert is not available in ImageJ macro. But you can do this:

or call a different scripting language with eval inside the macro code:

1 Like