Login  Register

Troubleshooting Import AVI macro

Posted by tcovert on Jul 12, 2009; 3:52am
URL: http://imagej.273.s1.nabble.com/Troubleshooting-Import-AVI-macro-tp3691807.html

Hi,
I know there is a very simple solution here, but being very new to ImageJ
macros I am at a loss for a solution.

I am putting together a macro for batch folder processing a group of AVI
movies that begins by importing the AVI as a stack.  I'd like to set the
first and last frame as part of the macro.  As a template I started with the
macro BatchProcessFolders.txt.  Here's the relevant code:

function processFile(path) {
       if (endsWith(path, ".avi")) {
           open(path);

I'd like the open to include the first and last frame parameters.  I also
tried using run("AVI...") with the first and last frames included but also
ran into problems there.

Thanks in advance for the help.

Cheers,
Trevor

--
Trevor Covert
[hidden email]