PDA

View Full Version : User selected folder


faultymoose
11-07-2006, 12:52 AM
Hi, I'm just wondering how I can call a fileDialog that will allow the user to select a folder only? My script requires them to select a folder in which will be generated a project file and related subdirectories.

Thanks!

ashishdantu
11-07-2006, 03:13 AM
hi faultymoose,

i think this is what you want -


proc printme(string $dir, string $ext)
{
print ("\n You browsed to the this folder >> "+$dir);
}
fileBrowser("printme", "Choose", "", 4 );


and check out this direct link to the master ! ROBTHEBLOKE (http://www.robthebloke.org/mel/IO_file_browser_dialog.html)

-rgds,

CGTalk Moderation
11-07-2006, 03:13 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.