In a message of 11-Nov-02 Don Cox wrote:

 >> Yes, that should be possible, though it might take a bit of time
 >> before the files are shown in the requester. However, it is probably
 >> quite difficult to add this to an existing copy of DPaint.

 > I think you are limited to what the standard ASL requester can do,
 > unless you patch ASL globally.

With already existing software using ASL, you are of course limited to
what the standard ASL requester is doing at the moment for the application
in question.

 > So if you are not sure if an image is an IFF, you have to just click on
 > it and wait for DPaint to put up a "Not an IFF" message if it isn't.

Yes, but if you could re-implement the application's use of ASL, it would
be fairly easy to add a hook which check the type of each file before
deciding if this file should be listed or not.

 > Three-letter extensions can be a convenience for the user (so long as
 > they are correct), but should not be used for identifying file types by
 > software. It is too easy for a user to name the file wrongly.

Indeed. But just imagine how long it will take a file requester to check
the filetype of each file in a directory with n+ files. The extension check
is a fairly easy way to do, but a way dependant of the user's ability to
use this filenaming scheme. In the end the application will have to check
the filetype upon loading the actual file.


Uffe Holst


Reply via email to