Login  Register

Re: Save as avi tries to open new avi

Posted by Herbie on Feb 07, 2016; 7:05pm
URL: http://imagej.273.s1.nabble.com/Save-as-avi-tries-to-open-new-avi-tp5015563p5015565.html

Good day Glen,

This works for me:

path = "/Applications/ImageJ/etc";
run("AVI... ", "compression=JPEG frame=30 save=" + path + "/Stack.avi");

HTH

Herbie

::::::::::::::::::::::::::::::::::::::::::::
Am 07.02.16 um 20:01 schrieb Glen MacDonald:

> Hello,
> The following line to save an AVI in a macro brings up a dialog window to open an avi.  the line was copied from the Macro Recorder and I only added the text between [].
>
> run("AVI...","compression=JPEG frame=30 save=["+target+wt+"]”);
> where target is the save directory and wt is the window title for the movie.
>
> Fiji, 2.0.0-rc-44/1.50e99, Java 1.8.0_65, OSX10.9.5
>
> Is this a simple syntax error?
>
> thanks,
> Glen MacDonald
> Digital Microscopy Center
> Box 357923
> University of Washington
> Seattle, WA 98195-7923  USA
> (206) 616-4156
> [hidden email]
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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