Login  Register

Saveas AVI with changing extention

Posted by Tomm on Sep 25, 2014; 1:11am
URL: http://imagej.273.s1.nabble.com/Saveas-AVI-with-changing-extention-tp5009752.html

Hi everybody,

Does anyone know how can I save an AVI file converted from a tiff file with changing file extension in macro command?
Here is my code.

dir = getDirectory("Choose Source Directory ");
filename = getTitle();
dotIndex = indexOf(filename, ".");
title = substring(filename, 0, dotIndex);
run("AVI... ", "compression=Uncompressed frame=3 save=???);

thank you,
Tom