gpt4 book ai didi

syntax-error - AHK缺少 “}”

转载 作者:行者123 更新时间:2023-12-03 08:01:40 25 4
gpt4 key购买 nike

我有以下5行代码:

^+E:: { SendInput {è} } return
^+A:: { SendInput {á} } return
^+N:: { SendInput {ñ} } return
^+G:: { SendInput {ŋ} } return
^+S:: { SendInput {š} } return

当我运行代码时,它说第5行上缺少“}”。我在第5行上添加了20个额外的“}”,但仍然给出相同的错误。

这里有什么问题?

最佳答案

AHK错误消息有时很可怕。尝试

^+E::SendInput è
^+A::SendInput á
^+N::SendInput ñ
^+G::SendInput ŋ
^+S::SendInput š

单行热键不需要 return。同样, Send也可以正常工作。

关于syntax-error - AHK缺少 “}”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37487864/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com