FROM : Aki Inoue
DATE : Wed Nov 07 19:37:02 2007
Hi,
On Leopard, you can use Text Input Sources Services that gives you far
more control over the input sources.
http://developer.apple.com/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html
Aki
On 2007/11/07, at 3:46, Satoshi Nakagawa wrote:
> Hi all,
>
> I want to change the current input manager to another one by code.
>
> But,
>
> [NSInputManager cycleToNextInputLanguage:nil];
> [NSInputManager cycleToNextInputServerInLanguage:nil];
>
> doesn't work anymore on Leopard.
> It seems to have no effect.
>
> Does any one know how to do it effectively?
>
>
> And another question related to this topic.
>
> How can I know what is the current input manager?
>
> I tried,
>
> NSLog(@"%p", [NSInputManager currentInputManager]);
> NSLog(@"%@", [[NSInputManager currentInputManager] language]);
> NSLog(@"%@", [[NSInputManager currentInputManager]
> localizedInputManagerName]);
>
> I just got the same result always,
>
> 0x145810
> nil
> nil
>
> even when the current input manager is for English or for Japanese.
>
> --
> Satoshi Nakagawa
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Wed Nov 07 19:37:02 2007
Hi,
On Leopard, you can use Text Input Sources Services that gives you far
more control over the input sources.
http://developer.apple.com/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html
Aki
On 2007/11/07, at 3:46, Satoshi Nakagawa wrote:
> Hi all,
>
> I want to change the current input manager to another one by code.
>
> But,
>
> [NSInputManager cycleToNextInputLanguage:nil];
> [NSInputManager cycleToNextInputServerInLanguage:nil];
>
> doesn't work anymore on Leopard.
> It seems to have no effect.
>
> Does any one know how to do it effectively?
>
>
> And another question related to this topic.
>
> How can I know what is the current input manager?
>
> I tried,
>
> NSLog(@"%p", [NSInputManager currentInputManager]);
> NSLog(@"%@", [[NSInputManager currentInputManager] language]);
> NSLog(@"%@", [[NSInputManager currentInputManager]
> localizedInputManagerName]);
>
> I just got the same result always,
>
> 0x145810
> nil
> nil
>
> even when the current input manager is for English or for Japanese.
>
> --
> Satoshi Nakagawa
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Satoshi Nakagawa | Nov 7, 12:46 | |
| Aki Inoue | Nov 7, 19:37 | |
| Martin Wierschin | Nov 8, 01:17 | |
| Satoshi Nakagawa | Nov 8, 07:13 |






Cocoa mail archive

