Autohotkey,没有鼠标和原始箭头键的高亮文本?
Autohotkey, highlight text without mouse and original arrow keys?
我用这种方式将箭头键重新映射到 ijkl,
!j::send {Left}
!k::send {Down}
!l::send {Right}
!i::send {Up}
效果很好,但在记事本、google 文档等中,我希望在不使用鼠标或原始箭头键的情况下突出显示一些文本。这可能吗?
在文本中间,如果我在按住 Shift 键的同时按下 !j,例如光标不会移动。
我也试过 *!j::send {Left} 光标移动但不突出显示文本。
我的目标是在使用 google 文档、记事本等时让我的手保持在相同的位置(避免移动鼠标和远离箭头键的时间)。
谢谢!
!j::send {Left}
; Press Shift+Alt+j to select text by single characters to the left:
+!j::send +{Left}
; Press Ctrl+Shift+Alt+j to select text by whole words to the left:
^+!j:: Send, +^{Left}
我用这种方式将箭头键重新映射到 ijkl,
!j::send {Left}
!k::send {Down}
!l::send {Right}
!i::send {Up}
效果很好,但在记事本、google 文档等中,我希望在不使用鼠标或原始箭头键的情况下突出显示一些文本。这可能吗?
在文本中间,如果我在按住 Shift 键的同时按下 !j,例如光标不会移动。 我也试过 *!j::send {Left} 光标移动但不突出显示文本。
我的目标是在使用 google 文档、记事本等时让我的手保持在相同的位置(避免移动鼠标和远离箭头键的时间)。
谢谢!
!j::send {Left}
; Press Shift+Alt+j to select text by single characters to the left:
+!j::send +{Left}
; Press Ctrl+Shift+Alt+j to select text by whole words to the left:
^+!j:: Send, +^{Left}