Login  Register

Re: Please help creating a macro for Z project and save as .tif

Posted by Krs5 on May 29, 2020; 8:16am
URL: http://imagej.273.s1.nabble.com/Please-help-creating-a-macro-for-Z-project-and-save-as-tif-tp5023384p5023413.html

Sorry, there is a typo in the line

run("Bio-Formats Importer", "open="+path"+ autoscale color_mode=Default rois_import=[ROI manager] view=Hyperstack stack_order=XYCZT");

it should be:

run("Bio-Formats Importer", "open="+path+" autoscale color_mode=Default rois_import=[ROI manager] view=Hyperstack stack_order=XYCZT");

but not sure if this will solve the problem.

Kees

________________________________


Dear Kees,

Sorry for my late reply. I have tried the macro but it gives a error saying:
Error:          ')' expected in line 7:
                run ( "Bio-Formats Importer" , "open=" + path <"+ autoscale
color_mode=Default rois_import=[ROI manager] view=Hyperstac...


Thank you for your help



--
Sent from: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.1557.x6.nabble.com%2F&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C9e046717bffa4f7f562708d803a7b32f%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C1%7C637263366095834417&amp;sdata=VZJ5h6Pg47BV7BPpJzveDFs7UmGg4C4CnVkGd6%2FKljE%3D&amp;reserved=0

--
ImageJ mailing list: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C9e046717bffa4f7f562708d803a7b32f%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C1%7C637263366095834417&amp;sdata=Rvlr0Y0bEaVYS2Ysf0UO8F4s%2FGmCA27VxD3uQBLingA%3D&amp;reserved=0

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