[Top][All Lists]

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

Re: Dynamically registering file types

From: Richard Frith-Macdonald
Subject: Re: Dynamically registering file types
Date: Wed, 12 May 2004 11:44:44 +0100

On 12 May 2004, at 11:18, Dirk Olmes wrote:

Adding configure script to Zipper that is able to detect what is
installed and then create a correct Info.plist

Talking about that...
might be a nice idea.

while this sounds like a good idea at first I'd like to have a more
dynamic solution. What if I install the lha executable later and add it to Zipper's preferences? Would I have to re-install the app for that? hardly.

Then I think you need to dynamically update your Info_gnustep.plist and then call the [NSWorkspace -findApplications] method to update cached information about file types. There is no API to dynamically register file types directly, but -findApplications does
the job by scanning the application information.

reply via email to

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