[vtkusers] TCL Script for reading multiple files.

H.Vidal, Jr. hvidal at tesseract-tech.com
Sun Dec 19 18:53:21 EST 2004

According to the docs on www.tcl.tk, the tk_getOpenFile tk widget
supports a -multiple option as of v.8.3.5; this will allow an operator
to select multiple files.

So the code is: (drum roll, please....)

tk_getOpenFile -multiple

I have 8.3.3 installed, and I don't think this option is supported in this
version. Let me know how it works out.


Andrew Maclean wrote:
> Does anyone have a TCL/TK script for a dialog that allows the user to select
> multiple files? Or alternatively one that allows one to select a sequence of
> files according to some pattern? I basically want something like that in the
> image readers eg. vtkImageReader2 where you can specify a file prefix and a
> file pattern.
> Are they willing to share it?
> Thanks
>   Andrew
> ___________________________________________
> Andrew J. P. Maclean
> Centre for Autonomous Systems
> The Rose Street Building J04
> The University of Sydney  2006  NSW
> Ph: +61 2 9351 3283
> Fax: +61 2 9351 7474
> URL: http://www.cas.edu.au/
> ___________________________________________
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list