I want to complete my jobs in macro. Recently I found a very useful code but written in java which is ND_.java (here is the link)
What I want to do is simply;
- run the java code
- save the results file
I wanted to implement below code but I have an error screen.
open("/Applications/Fiji.app/macros/ND_.java"); run("script:/Applications/Fiji.app/macros/ND_.java"); name = getTitle; dotIndex = indexOf(name, ".tif"); title = substring(name, 0, dotIndex); //edit the file path before you getPixelSize(unit, pw, ph, pd); saveAs("Results", "/Users/macbook/Desktop/"+title+"-dist"+"_"+unit+".csv");
Can anybody help me on this?
Thanks a lot in advance!