• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding system wide functionalities?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding system wide functionalities?


  • Subject: Re: Adding system wide functionalities?
  • From: Mike Ferris <email@hidden>
  • Date: Wed, 18 Dec 2002 16:17:51 -0800

Be aware that the NSInputManager behavior that TextExtras takes advantage of (abuses?) is only for Cocoa. TextExtras or other similar bundles will only load in Cocoa applications.

Also, be extremely careful if you go down this road because you're basically writing code that will be loaded and potentially run in many apps including many critical system applications (like the login window). If you have bad code you may render your machine nearly useless (although booting single-user and then moving aside a bad input manager is usually a last-resort way out if this happens).

Certain kinds of things can be done fairly unobtrusively and cleanly by code loaded into a Cocoa app (by whatever mechanism). Other things are going to be trickier to do without breaking some assumption the app might be making with respect to some behavior you're altering. Still others are not going to be practical simply given the nature of how Cocoa and Obj-C work (although much more is possible in this environment than would be in many others...)

Mike


Begin forwarded message:

From: Zoe Test <email@hidden>
Date: Wed Dec 18, 2002 1:20:08 PM US/Pacific
To: email@hidden
Subject: Adding system wide functionalities?

Hello,

I was wondering what would be the most straightforward way of providing system wide functionalities... I know about NSService and NSPastboard... but I need something more tightly integrated with user input: a way to add a contextual menu to every apps or perhaps a way to intercept double click to perform a default action. Which direction should I look? Is something like an NSInputManager ala TextExtras the way to go?

Thanks for any insights :-)

Z.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Adding system wide functionalities? (From: Zoe Test <email@hidden>)

  • Prev by Date: Re: "First Run" installation of Application support stuff?
  • Next by Date: Re: "First Run" installation of Application support stuff?
  • Previous by thread: Adding system wide functionalities?
  • Next by thread: customizing text layout - where to start?
  • Index(es):
    • Date
    • Thread