|
Hi there,
1. I wanna use the SaveDialog class to save the result from a result table,
but it did not save the result.
IJ.selectWindow(rtTitle); //select the ResultTable window.
SaveDialog sd = new SaveDialog("Save result...", rtTitle, ".txt");
2. How to save the result without a dialog showing up? Using something like
IJ.run("Text..., "save='D:\\Program Files\\ImageJ\\Results from " + imgTitle + ".txt'");
shoud work, but it needs to add extra "\"s. Is there a better way?
Thanks.
Best wishes,
Bian Liu
|