Importing Plugin classes into Script


I’m new to working with Fiji scripting so hopefully this is simple and someone can point me in the right direction.

I’m writing a script for Fiji using Javascript and trying to use importClass to import a class contained in another plugin. My problem is that I can’t seem to find the correct namespace to use in the import.

I’ve unsuccessfully tried several variations on:


There are several examples if you search the forum for Javascript and importClass, like this one:

But I suspect it will depend on the plugin.

Someone else might have a more specific answer if you listed the plugin.