how to createwrite with selection.getAbsolutePath();

I used the createWrite() to save my out file. I want to add the function for change folder by selectFolder() to save the file in new folder. but with fail to change folder. I got the new folder but failed to path to createWrite(), Is there any suggestion?

AbsolutePath = selection.getAbsolutePath();
println("new Folder = " + AbsolutePath ); fileoutput = createWriter( AbsolutePath + ADC" +str(month())+"-"+str(day())+"-"+str(year())+"_"+str(hour())+"."+str(minute())+"."+str(second())+".txt");

Answers

Sign In or Register to comment.