discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically registering file types


From: Dirk Olmes
Subject: Dynamically registering file types
Date: Wed, 12 May 2004 10:56:35 +0200 (MEST)
User-agent: SquirrelMail/1.4.2

Hi,

is there any way to dynamically register support for certain file types
based on application settings?

E.g. Zipper can handle various archive types: zip, tar.gz, rar etc. but
only if the executable for unarchiving is installed. Up to now I register
all supported archive types in the Info.plist but this can lead to a
situation where Zipper claims that it can handle e.g. zip files but unzip
isn't installed and so it really can't open zip files.

What I'd like to do is dynamically register the supported file types based
on the executables that are specified in Zipper's preferences. While I
could programatically modify Zipper's Info.plist inside the app wrapper
this seems not like the optimal approach to me.

Does anybody know a more elegant version?

-dirk

-- 
Anyway kids, have fun, play nicely, be good. And remember - if it ain't
broke, hit it again.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]