Possible Duplicate:
Switch TO specific input source
I want to do something like:
set keyboard layout to 'QWERTY' or something like that.
I want to do something like:
| |||
|
feedback
|
This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.
|
The current keyboard layout appears to be saved in ~/Library/Preferences/ByHost/com.apple.HIToolbox.machineid.plist under the key You can write preferences to this file using the
However, this seems to change the keyboard only about 80% of the time. You can run Terminal commands from AppleScript easily using do shell script. | |||
|
feedback
|
|
This may be useful, you'll need to change the names. It may be out of date, if it is here is the newer workflow. It's odd, no-one seems to have done this in the last five or so years. | |||
|
feedback
|