Selecting an input method from Cocoa
Selecting an input method from Cocoa
- Subject: Selecting an input method from Cocoa
- From: HORUS Technologies <email@hidden>
- Date: Tue, 21 Jun 2005 21:20:33 +0200
Hi,
I would like to automatically select an input method depending on the
NSTextField that is currently being used for entry. The reason is that
I would like to spare the user the pain to select Roman (US, French,
etc.) then Hiragana (Japanese) to enter data in a database record, then
Roman again for the next record, etc.
I found the NSInputManager method +currentInputManager which returns
the input manager that is currently being used, but I could not find a
method to set the Input Manager. Two others method that looked
promising are deprecated (+cycleToNextInputLanguage:(id)sender and
+cycleToNextInputServerInLanguage:(id)sender) and I did not find any
replacement.
Is there a way to choose the current Input Manager from Cocoa? How to
do that?
Many thanks in advance.
Olivier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden