Login  Register

FIJI/IJ2 script editor

Posted by Leon Espinosa-3 on Jun 19, 2014; 7:56am
URL: http://imagej.273.s1.nabble.com/FIJI-IJ2-script-editor-tp5008308.html

Dear developers, I prefer to repport those problems here because I do not know if this is actually the "bugs" or a scheduled behavior of the editor change ... Some things do not work and others work differently by compared to FIJI/IJ1

in FIJI/IJ2
IJ.wait(1000);
in the editor "python" fails
in the editor javascript fails.
in the jython interpreter fails
in the javascript interpreter works OK

other IJ methods seems to work but I have not tested it all...


in FIJI/IJ1 javascript and python editor
IJ.beep();  OK

in FIJI/IJ2 editor javascript
IJ.beep();  fails
in FIJI/IJ2 javascript interpreter OK

in FIJI/IJ1 "python" editor
IJ.beep();  OK
in FIJI/IJ2 "python" editor
IJ.beep()   fails

in FIJI/IJ2 "python" editor
from ij import IJ as IJ
IJ.beep()    OK

in FIJI/IJ2 "python" interpreter
IJ.beep()  OK

I was unable to import ij.IJ in the FIJI/IJ2 javascript editor with "import ij.IJ.*;"  while  " from ij import IJ as IJ" works with the "python" editor...


I hope it helps for this great project
Thank you to all !!!

Leon

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