Wednesday, January 23, 2019

AutoHotKeyで簡単にカーソル移動、範囲選択

AutoHotKeyで簡単にカーソル移動、範囲選択。
http://blog.livedoor.jp/sourceof/archives/6147520.html

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;左Altキー + h,j,k,lでカーソル移動
;;範囲選択
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LAlt & h::
    if GetKeyState("shift", "P"){
        Send, +{Left}
    }else{
        Send,{Left}
    }
    return

LAlt & j::
    if GetKeyState("shift", "P"){
        Send, +{Down}
    }else{
        Send,{Down}
    }
    return

LAlt & k::
    if GetKeyState("shift", "P"){
        Send, +{Up}
    }else{
        Send,{Up}
    }
    return

LAlt & l::
    if GetKeyState("shift", "P"){
        Send, +{Right}
    }else{
        Send,{Right}
    }
    return
ありがとうございます!

No comments:

Post a Comment