Hi!!
I am trying to use in a Fiji Macro a command created with SciJava, but It don't work.
I created a command to do a threshold, and when I call it from Python it works fine. If I search on the Fiji app and run it, works too.
So I record this code and put it in a macro, when I run the same lines I get this error:

There is a way to use a Scijava command in a macro?