CapsLockで日本語/英語の切替、ESCキーを2回タイプで大文字/小文字を切り替えます。
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
CapsLock::
Send, {vkF3sc029}
return
Esc::
Keywait, Esc, U
Keywait, Esc, D T0.3
If (ErrorLevel=1) {
Send,{Esc}
}
else {
SetCapsLockState % !GetKeyState("CapsLock", "T")
}
return
しばらくこれで使って身体を慣らします。
英数入力で大文字小文字の切替を調べています。なぜか、大文字でロックされることあります。
返信削除