I have the following script that ask users for input and output directory
in that order:
from ij import IJ, ImagePlus #Set input directory... srcDir = IJ.getDirectory("Input_directory") #Set output directory... dstDir = IJ.getDirectory("Output_directory") print "Source directory: ", srcDir print "Destination directory: ", dstDir
What I want to do is before showing up the directory windows, I’d like a
message prompt to tell user that he should be choosing source or target directory.
How can I do that?