自动热键:如何在代码中发送 CTRL B 以及括号中的其他文本



这是我的自动热键代码:

::update client::
(
Hi team,
We are emailing to advise you an update on following job:
#CTRL-B Here
Here
•   Our Reference:
Your Reference:
#CTRL-B Here
)

我正在尝试用一段文本替换单词更新客户端。我想在项目符号点之前和项目符号之后发送 Ctrl+B 键。我该怎么做?有人可以帮我语法吗?谢谢

你需要划分文本。

::update client::
SendInput
(
Hi team,
We are emailing to advise you an update on following job:
)
SendInput, ^b
SendInput
(
Here
•   Our Reference:
Your Reference:
)
SendInput, ^b
Return

这是我使用换行符的解决方案。

::test::
    SendInput Hi team,`n`nWe are emailing to advise you an update on following job:
    SendInput ^b
    SendInput Here`n•   Our Reference:`nYour Reference:
    SendInput ^b
    return

最新更新