Could you do it via the Accessibility APIs, perhaps?
Davide Benini wrote:
I see.
I was planning to build a menulet to speed up switching language,
which is kind of annoying, especially when you're writing in a couple
of languages, switching all the time... I was actually wondering why
no one had done such a menulet before.... probably because it's not
doable :)
Thanks for the clarification,
Davide
PS: if ye have any other idea on how to accomplish this, please suggest
Il giorno 12/mar/08, alle ore 18:09, Douglas Davidson ha scritto:
On Mar 12, 2008, at 10:02 AM, Davide Benini wrote:
I realized the question was not well put.
Basically, I would like to switch the language of the spellchecker
of the application in focus. I realize this might be tricky, and
probably not doable... That's why I thought about modifying the
plist of apps preferences; unless this preference is not stored in a
plist...
Modifying the language from outside the application, while it is
running, is probably not practicable. The preference is stored in a
plist, like other preferences, but it would typically be consulted
only when the application starts up; after that, the application's
instance of NSSpellChecker maintains the language setting based on
the popup in the spelling panel.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/jstiles%40blizzard.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]