Re: nobody knows, or just can't be done?
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