【问题标题】:Autohotkey, highlight text without mouse and original arrow keys?Autohotkey,无需鼠标和原始箭头键即可突出显示文本?
【发布时间】:2017-05-08 05:18:28
【问题描述】:

我以这种方式将箭头键重新映射到 ijkl,

!j::send {Left}
!k::send {Down}
!l::send {Right}
!i::send {Up}

它很好用,但在记事本、谷歌文档等中,我希望在不使用鼠标或原始箭头键的情况下突出显示一些文本。这可能吗?

如果我在按住 Shift 键的同时按住 !j,则在文本中间,例如光标不会移动。 我也试过 *!j::send {Left} 光标移动但不突出显示文本。

我的目标是在使用谷歌文档、记事本等时将双手保持在同一位置(避免鼠标移动时间和远离箭头键)。

谢谢!

【问题讨论】:

    标签: autohotkey


    【解决方案1】:
    !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}
    

    【讨论】:

    • 非常感谢!完美运行! :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-25
    • 2012-06-27
    • 1970-01-01
    • 1970-01-01
    • 2020-04-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多