// clean results run("Clear Results"); // get all points getSelectionCoordinates(xCoordinates, yCoordinates); // chose name pattern for exporting fileName = File.openDialog("Select the file for export"); // Exporting as TXT format (ITK compatible) file = File.open(fileName+".txt"); print(file, "point"); print(file, lengthOf(xCoordinates) ); for(i=0; i