I am trying to write a dialog the opens a video file.
This works: import EasyDialogs file = EasyDialogs.AskFileForOpen(defaultLocation="c:\\", typeList=('avi','mpg','mpeg', )) and outputs a dialog that shows *.avi *.mpg *.mpeg in the selection dropdown. What I want to do is have it show Video Files (*.avi;*.mpg;*.mpeg) This idea is hinted at on this page: http://www.averdevelopment.com/python/EasyDialogs.html But the example doesn't seem to work (or perhaps I don't understand how to use it) When I tried it like this: file = EasyDialogs.AskFileForOpen(defaultLocation="c:\\", typeList=(('C Files (*.c, *.h)', '*.c;*.h'))) The dropdown on the open dialog says *.C Files (*.c, *.h) *.*.c;*.h It just put asterisks in front of whatever values you give it. (And no, the first option does not work, and while the second one does, it breaks if you delete the first one). Any hints on this would be welcomed.
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32