Selecting an image file
Posted: Thu Jun 06, 2013 12:39 pm
I want to allow the selection of either a jpg or a png image file. I use the following code:
answer file "Choose original label image:" with type "Image files|jpg|JPEG|png|PNG|"
(I've tried it with and without the final vertical bar), but only jpg documents are selectable in the resulting file list, png files being greyed out.
How can I make the pngs selectable, too?
answer file "Choose original label image:" with type "Image files|jpg|JPEG|png|PNG|"
(I've tried it with and without the final vertical bar), but only jpg documents are selectable in the resulting file list, png files being greyed out.
How can I make the pngs selectable, too?