Process bashing

plugin
fiji
macro
Tags: #<Tag:0x00007fd5468a7398> #<Tag:0x00007fd5468a71b8> #<Tag:0x00007fd5468a6f60>

#1

Hi everybody,

I’m writing a macro to open all pictures in a folder, but sadly, nothing happened !
Here the macro :

dirCropOutput="D:\\Result\\DoE4-10_0\\";
print(dirCropOutput);
list=getFileList(dirCropOutput); 

for(i=0;i<list.length;i++){ 

	

	print(dirCropOutput+"\\"+list[i]);
	print(list[i]);
	
	run("Bio-Formats Windowless Importer", "open="+dirCropOutput+list[i]);
	
	//open(dirCropOutput+"\\"+list[i]);
	wait(500);
	//runMacro("AnalyseDP4");


		
		//D:\Result

}

I would really appreciate if someone can find the mistake and help me !

Thank you,
Kévin Alaksas.


#3

Problem solved, sorry for disturbing


#4

Glad you could solve your problem. If you shortly describe what the issue was and how you fixed it in the end, I’m sure it will help others having the same problem and searching for it here on the forum in the future.


#5

Yes of course.

In fact i just forgot that my loop with the run(“bioformat”) was after a setBatchMode(“True”) ! So it was normal that my picture was opened but not displayed !