Answer the question
In order to leave comments, you need to log in
How to choose exactly the keyboard layout that you need under Mac OS?
I want to make a choice of Russian / English right / left shift / apple / viola. The problems of hanging this event (while maintaining the main function) can be solved using KeyRemap4MacBook. However, I came across the fact that it is impossible to choose any layout on Mac OS directly.
Answer the question
In order to leave comments, you need to log in
Something like this through Apple Script, for example:
...
on changeKeyboardLayout(layoutName)
tell application "System Events" to tell process "SystemUIServer"
tell (1st menu bar item of menu bar 1 whose description is "text input") to {click, click (menu 1's menu item layoutName)}
end tell
end changeKeyboardLayout
And then
changeKeyboardLayout("English")
changeKeyboardLayout("German")
...
Taken from here: http://superuser.com/questions/224161/switch-to-specific-input -source
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question