如何在 AutoHotKey 脚本中定义光标位置?

Edw*_*uay 7 autohotkey

我写了一个AutoHotKey脚本来打印出这四行:

==quote
web

12
Run Code Online (Sandbox Code Playgroud)

但我希望光标在“web”行和“12”行之间闪烁,我想我可以像这样包含“Cursor”这个词:

::qqu::==quote{Enter}{Cursor}{Enter}web{Enter}12
Run Code Online (Sandbox Code Playgroud)

但它只是将光标留在“12”的末尾。

如何定义结束光标位置?

小智 13

只是一个注意事项:

发送{左}{左}{左}

相当于……

发送 {左 3}


Jos*_*ved 6

尝试{Left}{Left}{Left}在一切之后添加。这应该将光标移回正确的位置。