【发布时间】:2019-07-07 01:08:35
【问题描述】:
!w::
Sendinput ^c ; copy selection
Sleep 1000 ; gives time for the copy to work
FileAppend, `n`n%clipboard%, C:\Users\John Salter\ToAnki.txt; Add clipboard content to the end of a text file. Insert 2 new lines before inserting the clipboard with `n`n
Return
这是我一直在尝试使用的脚本。我担心“John”和“Salter”之间的空间,所以在其他地方尝试过,但还是不行。
我没有收到任何错误消息。
剪贴板的内容被改变了,所以问题出在第二行下面。
查看帮助文档似乎可以使用 FileAppend。
谁能弄清楚发生了什么问题?
谢谢!
【问题讨论】:
标签: autohotkey