discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Connecting file extensions to applications


From: Andreas Höschler
Subject: Re: Connecting file extensions to applications
Date: Wed, 13 Sep 2006 17:43:27 +0200

Hi all,

how can I make my app to start automatically and open a document file when I doubleclick on a file with a specific extension, e.g. *.project? I have a file CustomInfo.plist in the project directory and listed all document types.

It should be as simple as installing the app in one of the standard locations, then running make_services. I would assume GWorkspace honors the standard mechanism ... but just in case, you could try using gopen to open the file without having GWorkspace running/available.

NSWorkspace is supposed to setup a dictionary extPreferences in +initialize. This is done by reading the file .GNUstepExtPrefs. However, this file does not exist (is not created by make_services)!?

How is this supposed to work?

Regards,

  Andreas





reply via email to

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