Re: Integration with other software
Posted by Le, Thai (NIH/NCI) [C] on May 05, 2009; 10:23pm
URL: http://imagej.273.s1.nabble.com/redirect-to-imageID-tp3692673p3692677.html
Thank you!
-Thai
-----Original Message-----
From: Rasband, Wayne (NIH/NIMH) [E]
Sent: Tuesday, May 05, 2009 5:36 PM
To: List IMAGEJ
Subject: Re: Integration with other software
> Hi,
>
> I'm new to ImageJ.
> I'm trying to execute an ImageJ menu command (Import->Image Sequence)
> from another application. Can I run it as a command line to start
> ImageJ and execute the menu command?
1. Create a one line macro by running Import>Image Sequence with the
recorder running 2. Save the macro in the ImageJ/macros folder as, say,
"import.txt"
3. Run it from the command line using a command something like:
java -jar /path/to/ij.jar -ijpath /path/to/ImageJ -macro import
-wayne