Switches the active keyboard layout to the one with the given localized name. Use layouts() to enumerate valid names.
layouts()
The localized name of the layout to activate (e.g. "U.S.").
"U.S."
true if the layout was found and selected, false otherwise.
true
false
Switches the active keyboard layout to the one with the given localized name. Use
layouts()to enumerate valid names.