Filtering with more than 4 types (OSX)
Thierry Arbellot
thierry.arbellot at wanadoo.fr
Wed Jan 28 05:04:23 EST 2004
Hi dreamer,
Just for information, if I remember well, MacOS limits the filtering up
to 4 types.
A custom proc filter is needed to filter more than 4 types.
But sorry, I don't know how to do simply in Rev.
The only idea I have is to write an external that will call the MacOS
file selector with a custom file proc according to your need.
Regards.
Thierry.
Le Wednesday, 28 Jan 2004, à 10:22 Europe/Paris, Éric Chatonet a écrit :
> Bonjour à tous les Reveurs,
>
> OSX 10.3
> Rev 2.1.2
>
> I want to display a dialog allowing the user to choose only pictures
> i.e BMP,MooV, JPEG, PNG, GIF and TIFF (cross platform app).
> Only the four first types are considered:
>
> answer file tPrompt with filter "MooVJPEGPNGfGIFfTIFFBMP " -- filters
> correctly MooV,JPEG,PNG and GIF while TIFF and BMP files are disabled
> answer file tPrompt with filter "PNGfGIFfTIFFBMP MooVJPEG" -- filters
> correctly PNG, GIF, TIF and BMP while MooV and JPEG files are disabled
>
> Any idea to by-pass this apparent limitation?
>
> Mille mercis par avance !
>
> Eric Chatonet
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list