in reply to ability to create a directory in perl TK
Really what is needed is something like the getOpenFile() dialog, which I demo'd at Re: select input file from windows explorer. Amazing enough that open file dialog will allow a new directory to be created in the "windows way"! Unfortunately this thing wants a file name and won't settle for just creating the directory.
I think you are going to be stuck with having to create some more buttons and dialog about making a new directory in your Tk code. I see what you want, but I don't see any easy way to get there.
Update:
The problem is that you are asking about a directory instead of a path to a file.
Windows app programs don't ask, "give me a directory", they want a path to a specific file.
A Windows app asks where to to save/get a file. Creating a dir, with no target file is rather strange.
|
|---|