• 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: nobody knows, or just can't be done?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nobody knows, or just can't be done?


  • Subject: Re: nobody knows, or just can't be done?
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 17 Oct 2001 22:08:49 +0100

Finlay,

>>>>>> Finlay Dobbie (FD) wrote at Wed, 17 Oct 2001 18:47:08 +0100:
FD> >i sent out a request yesterday for help with manipulating another
FD> >application's interface items (e.g. menu items) and no one has replied.
FD>
FD> You can't.

Quite the contrary -- it's easy.

Just make a bundle. Load in into the application (this might be somewhat
tricky for apps which don't have any bundle support, but if the worst comes
to the worst, the environment variable DYLD_INSERT_LIBRARIES should help /not
tested in 10.1!!!/).

Inside the bundle you can easily use all the power of Cocoa, starting with
+load to get chance to initialize, through [[NSApplication sharedApplication]
mainMenu] to get free access to the main menu, and more: no limitations,
actually -- you can change framework behaviour even, via categories and/or
poseAsClassing.

Of course, with the blasted Carbon it won't work -- just another messed-up thing!
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


  • Follow-Ups:
    • Re: nobody knows, or just can't be done?
      • From: Rosyna <email@hidden>
    • Re: nobody knows, or just can't be done?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: nobody knows, or just can't be done? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: [OFF] Services Question - X.1
  • Next by Date: Settings an explicit outgoing mailhost when using Message.framework
  • Previous by thread: Re: nobody knows, or just can't be done?
  • Next by thread: Re: nobody knows, or just can't be done?
  • Index(es):
    • Date
    • Thread