Re: creating an input manager
Re: creating an input manager
- Subject: Re: creating an input manager
- From: Mike Ferris <email@hidden>
- Date: Tue, 28 Jan 2003 09:04:40 -0800
Just a little note on TextExtras... While it uses the NSInputManager
mechanism to get itself loaded, it is not a real input manager. Really
it just installs where input managers get installed so it will get
automatically loaded into all apps.
The main thing for bundles loaded by the NSInputManager mechanism is
simply to structure it properly. It should look like this, installed:
~
Library
InputManagers
MyIM
Info
MyIM.bundle
<standard bundle content>
You can look at the TextExtras "Info" file for details on what goes in
there. Just be aware that the "Info" file is not the same as the
Info.plist of a bundle (MyIM.bundle has a standard Info.plist in it as
well).
Also, note that these bundles are ONLY loaded by Cocoa apps. So you
might be able to fix your problem for Cocoa apps, but it will not
affect Carbon apps using this mechanism.
Mike
Begin forwarded message:
From: Ralph Poellath <email@hidden>
Date: Tue Jan 21, 2003 1:21:15 PM US/Pacific
To: email@hidden
Subject: creating an input manager
I'm trying to come up with a workaround for the broken (on non-US
systems) "Cycle Windows" keyboard shortcut. I have 4 lines of code
which, when run from inside a cocoa application, fix the problem by
adding a "Cycle Windows" menu item to the "Window" menu (with
_cycleWindows: as target). This has been a known bug since 10.0, and
I'm tired of modifying nib files.
I know there are several methods of getting my code to be loaded and
executed from inside other applications and I've been looking into
NSInputManager, but can't get it to work. I've been staring at
TextExtras and Apple's HexInputManager example for a couple of hours
now, searched the web and my Cocoa books, but still..
It's probably not too complicated, but maybe someone could give me a
quick explanation on what's neccessary for my bundle to get recognized
as input manager, and from where inside the bundle my code could be
run.
Thanks,
-Ralph.
_______________________________________________
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.