Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : User selected folder

11-07-2006, 01: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.


11-07-2006, 04: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)


CGTalk Moderation
11-07-2006, 04: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.