autohotkey
  • sendinput
  • 2016-11-27 6 views 1 likes 
    1

    私はキーボードのレイアウトを変更するためにキーを置き換えるAutoHotKeyで小さなスクリプトを書こうとしています。このように動作するようになっている:AutoHotKeyスクリプトSendInput

    [=ü 
    {=Ü 
    ;=ö 
    :=Ö 
    '=ä 
    "=Ä 
    ]=' 
    }=" 
    \=; 
    |=: 
    

    すべてのキーは除いて働く:=:=Öになりますどの

    私が正しく$ {と}生を使用しましたか?

    私の投稿があまりにも混乱しないように願っています。誰でも同様の問題がある場合;-)

    
    
        #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 
    
    

    答えて

    1

    が、ここソリューションです:$ +; :: + Shiftキーのためです。シフトと; =:

    関連する問題