1
我正在嘗試使用AutoHotKey編寫一個小腳本來代替鍵來更改我的鍵盤佈局。它應該像這樣的工作:除了AutoHotKey腳本SendInput
[=ü
{=Ü
;=ö
:=Ö
'=ä
"=Ä
]='
}="
\=;
|=:
所有鍵的作用:= O,這將導致:=:
難道我使用$ {和}生正確?
我希望我的帖子不要太混亂。 ;-)
#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.
$[::
SendInput {Raw}ü
Return
${::
SendInput {Raw}Ü
Return
$;::
SendInput {Raw}ö
Return
$:::
SendInput {Raw}Ö
Return
$'::
SendInput {Raw}ä
Return
$"::
SendInput {Raw}Ä
Return
$]::
SendInput {Raw}'
Return
$}::
SendInput {Raw}"
Return
$\::
SendInput {Raw};
Return
$|::
SendInput {Raw}:
Return