我想通过使用Hammerspoon来改变键盘布局。
若要更改泰国键盘布局,此代码可以工作。
> hs.keycodes.setLayout("Thai")
true但要改变韩国键盘,这两种密码都不起作用。
> hs.keycodes.setLayout("2-Set Korean")
false
> hs.keycodes.setLayout("Korean")
falsehs.keycodes.currentLayout()返回“2组韩语”。
> hs.keycodes.currentLayout()
2-Set Korean在哪里可以找到每种语言的科雷特键盘布局名称?
发布于 2019-09-07 23:13:53
而不是setLayout(),您需要对韩文输入方法使用setMethod()。
hs.keycodes.setMethod("2-Set Korean")https://stackoverflow.com/questions/57704348
复制相似问题