selectOutput :how I can save a file, demanding, imposing a pre extencion given to the file?
in
Programming Questions
•
7 months ago
hello,how I can save a file, demanding, imposing a pre extencion given to the file?
E.G:
http://www.subirimagenes.net/i/130311103703156822.png
E.G:

http://www.subirimagenes.net/i/130311103703156822.png
- void setup() {
selectOutput("Save *.txt:", "fileSelected");
}
void fileSelected(File selection) {
if (selection == null) {
println("Window was closed or the user hit cancel.");
} else {
// println("User selected " + selection.getAbsolutePath());
}
}
1