Help us understand the problem. What is going on with this article?

英語キーボードでの日本語入力切替をaltでトグル切り替えする方法

More than 1 year has passed since last update.

https://github.com/karakaram/alt-ime-ahk/releases にて、macライクに左側のaltで英語、右側のaltで日本語切り替えできます。しかしmacでトグル設定にしていて同じように使いたい人がいると思います。以下のように変更すると右側のaltにてトグル制御で英語と日本語を切り替えられます。

手順1. https://github.com/karakaram/alt-ime-ahk/releases からソースコードを落としてくる

手順2. alt-ime-ahk.ahk の"LAlt"を消して以下のように変更する

alt-ime-ahk.ahk
*~RAlt::Send {Blind}{vk07}

;  Alt 空打ちで IME  ON
RAlt up::
    if (A_PriorHotkey == "*~RAlt")
    {
        if (IME_GET() == 0)
        {
            IME_SET(1)
        }
        else
        {
            IME_SET(0)
        }
    }
    Return

手順3. AutoHotKeyをインストールしてalt-ime-ahk.ahkを右クリックからコンパイルを選択しexeを作成

手順4. 作成されたexeを実行。(終了はTask Managerから)

参考資料:

https://www.karakaram.com/alt-ime-on-off

改変・再配布自由とのこと。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした