discuss-gnustep
[Top][All Lists]
Advanced

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

Re: How to ask an application to quit or hide ?


From: Richard Frith-Macdonald
Subject: Re: How to ask an application to quit or hide ?
Date: Sun, 24 Sep 2006 08:12:01 +0100


On 24 Sep 2006, at 07:15, Yen-Ju Chen wrote:

Is it possible to ask another application to quit, show or hide
through NSConnection or NSDistributedNotificationCenter ?
NSWorkspace only offer a way to launch an application and nothing more.

By default in GNUstep you can only send certain messages to an application through an NSConnection ... currently those for application services, those beginning application: and the terminate: message.

However, you can set an array of message names in the GSPermittedMessages user default, and then the application will accept those listed messages as well.



reply via email to

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