Login  Register

Fiji Main Window does not open when started from command line

Posted by Sebastian Rhode-4 on Oct 26, 2015; 10:00am
URL: http://imagej.273.s1.nabble.com/Fiji-Main-Window-does-not-open-when-started-from-command-line-tp5014770.html

Hi guys,

I tried to start fiji from the command line with

c:\Users\Public\Documents\Fiji>ImageJ-win64.exe -macro XYZ.ijm

When I press enter I see the Fiji symbol appear and my toolbars and the
Fiji control panel opens up. But the Fiji main windows never does? And the
macro is not excuted as well? When I open the macro manually and run it it
is excuted correctly. Any idea, what the problem might be?

But when I try:

c:\Users\Public\Documents\Fiji>ImageJ-win64.exe

Fiji opens correctly and the main window is visible.

Sebi


Macro XYZ.ijm:

name = "c:\\Users\\M1SRH\\Documents\\Experiment-29.czi"

run("Bio-Formats Importer", "open=[" + name + "] autoscale
color_mode=Default open_all_series view=Hyperstack stack_order=XYCZT");
getDimensions(width,height,channels,slices,frames);
run("Z Project...", "start=1 stop=" + slices + " projection=[Max
Intensity]");
run("Fire"); // apply special LUT

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html