filtering for one type with multiple extensions

Glen Boyd glenb at napier.govt.nz
Thu Feb 3 16:12:46 EST 2005


Hi Richard,

Richard Gaskin wrote:
> I need to filter a file selection dialog for multiple extensions for the 
> same type.  For example, MPEGs can be either "*.mpg" or "*.mpeg".
> 
> I know how to list them separately, but how do I make one entry which 
> will filter for MPEGs ending in both ".mpg" and ".mpeg"?

I just did a quick test using "ask file" with a filter defined like this:

	"Choices,*.c1;*.c2"

and it appears to produce the result you are after.

regards

-- 
Glen Boyd		<glenb at napier.govt.nz>
Network Administrator	Napier City Council
Private Bag 6010, Napier, New Zealand
Phone: +64-6-8344119	Fax: +64-6-8357574

######################################################################
Attention: 
This e-mail message and accompanying data may contain information that
is confidential and subject to legal privilege. Any information
provided is given in good faith. However unless specifically stated to
the contrary, Napier City Council accepts no liability for the
content of this e-mail or for the consequences of any action taken on
the basis of the information provided, unless that information is
subsequently confirmed in writing. If you are not the intended recipient,
you are notified that any use, dissemination, distribution or copying
of this message or data is prohibited. If you received this e-mail
message in error, please notify us immediately and erase all copies
of this message and attachments. Thank you.


More information about the Use-livecode mailing list