I created a macro and I am trying to make it more accessible to the API of ImageJ so I am switching to it to a Plugin.
In the Macro I ran
run("Image Sequence...");
selectImage(1);
run("Set... ", "zoom=50 x=512 y=512");
The thread was automatically stopping by running Image Sequence and was waiting for user to select the image while in the Plugin by running
IJ.doCommand("Image Sequence...");
it didn’t work.