[Closed] Dialog to Pick Multiple .max Files
I have a script that needs to allow the user to select multiple .max files from some kind of dialog. The standard open and save dialogs only let you pick one file. I could force the user to put all the files in a folder but I’d rather not. I can’t use wildcard names because the filenames can be very different.
I could write this sort of pick dialog, but of course it would be much easier if there was a shortcut. Lots of pick dialogs in MXS have a count:#multiple option, but not the file loading dialogs. Is there an easy way to fake this?
Thanks.
- Michele
Hi Michele,
Considering getOpenFilename dialog returns the value directly rather than an array, I think it’s safe to say it doesn’t have multiple option. However you could still do this in 2 ways:
- Using a TreeView ActiveX (probably with CheckBoxes property set to true)
- Using the OpenFileDialog control of .NET
Light
Thanks. It looks like TreeView ActiveX will do the trick. I’ll have to populate the dialog manually, oh well.
- Michele
Thanks, that’s a nice script to refer to. I decided in the end to just go with single file selection for the time being.
- Michele