0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

macのPowerPointでAquaSKKを使ってCtrl+J,l(エル)で入力モードをちゃんと切り替えしたい

Last updated at Posted at 2021-03-03

やりたいこと

  • AquaSKKで,Ctrl+Jでかなモードに,l(小文字エル)でasciiモードにしたい

問題点

  • powerpointではCtrl+Jにショートカットが割り当てられていて,かなモードにならない

対策

  • 入力ソースに「AquaSKK 統合」ではなく,個別に「ひらかな」「カタカナ」などを入れる
  • Karabiner-Elementsを入れる
  • PowerPoint用のJSONを.config/karabiner/assets/complex_modifications/に置く
    • または,
      Preference -> Complex modifications -> Add rule -> import...
      でAquaSKKで検索して出てくる設定をインポートした上で,追記する
    • 追記する内容は下を参照だが,ポイントは「japanese_eisuu」「japanese_kana」で切り替える

制限事項

  • 全英モードとか半角カナモードなどに入ってしまうと,戻れない
    • japanese_eisuuで入力ソースをABCにした後,japanese_kanaを押しても元のモード(全英など)に戻されるので,karabinerで対応するのは難しそう
    • そんな時はCtrl+Spaceで入力ソースを切り替えれば良いわけで,頑張ってSKK互換動作を再現するのは諦めた

設定内容

追記する場合は,rulesのリストへ追記する.
JSONの手編集を知らないなら,下をコピペしたJSONファイルを個別に置いた方が事故がないかと.

{
  "title": "AquaSKK",
  "rules": [
    {
        "description": "AquaSKK for PPT",
        "manipulators": [
            {
              "type": "basic",
              "from": {
                "key_code": "l"
              },
              "to": [
                {
                  "key_code": "japanese_eisuu"
                }
              ],
              "conditions": [
                {
                  "type": "frontmost_application_if",
                  "bundle_identifiers": [
                    "^com\\.microsoft\\.Powerpoint"
                  ]
                },
                {
                  "type": "input_source_if",
                  "input_sources": [
                    {
                      "input_source_id": "^jp\\.sourceforge\\.inputmethod\\.aquaskk\\.(Hiragana|Katakana|HalfWidthKana)$"
                    }
                  ]
                }
              ]
            },
            {
                "type": "basic",
                "from": {
                    "key_code": "j",
                    "modifiers": {
                        "mandatory": [
                            "control"
                        ]
                    }
                },
                "to": [
                    {
                        "key_code": "japanese_kana"
                    }
                ],
                "conditions": [
                    {
                        "type": "frontmost_application_if",
                        "bundle_identifiers": [
                            "^com\\.microsoft\\.Powerpoint"
                        ]
                    }
                ]
            }
        ]
    }
  ]
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?