"To specify multiple filter patterns for a single display string, use a semicolon to separate the patterns (for example, "*.TXT;*.DOC;*.BAK")."
Well, it's not documented, but that works for the filter argument for the PowerScript GetFileOpenName function as well. Try setting the filter to something like:
"Graphic Files (*.bmp;*.gif;*.jpg;*.jpeg),*.bmp;*.gif;*.jpg;*.jpeg"
And you'll see that not only does the dialog show that line in the DDLB, but it also shows all the files that match any of those file types.
Cool! Exactly what I was looking for.
ReplyDelete"Graphic Files (*.bmp;*.gif;*.jpg,*.jpeg),*.bmp;*.gif;*.jpg,*.jpeg" should read:
ReplyDelete"Graphic Files (*.bmp;*.gif;*.jpg;*.jpeg),*.bmp;*.gif;*.jpg;*.jpeg"
Need More Informations!!!
ReplyDeleteRam,
ReplyDeleteI'm not quite sure what you're asking for.
Terry,
ReplyDeleteGood point. A typo when I wrote the entry, as you can see the image displays the semi-colon rather the comma which results from the correct syntax.