Login  Register

Re: Window and Leveling

Posted by Prasad Rajagopal on Jun 15, 2006; 7:42pm
URL: http://imagej.273.s1.nabble.com/Window-and-Leveling-tp3702480p3702481.html

Hi,

     Thanks for the reply. It was very helpful. It worked. But there is a
slight problem. I wrote a macro named it as StartupMacros.txt and put that
file in the "macros" directory. And when I restarted ImageJ it automatically
installed.

     But since I am using ImageJ as an applet, when i embed the "ij.jar" for
the ImageJ it does not inlcude the StartupMacros.txt functionalities. When I
load webpage, ImageJ starts and opens the Image. But when I pressed "1",
"2", etc., nothing happened because the Macro was not there.

     Do you know how to make it work when calling ImageJ as Applet ?


Thanks
Prasad