一段 ahk 脚本,在维基网站上自动输入模板内容: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 September 2025

  • curprev 10:3710:37, 29 September 2025Mwroot talk contribs 1,301 bytes +1,301 Created page with "在维基编辑过程中,需要输入模板的场景很常见,这个 ahk 脚本可以很方便地使用模板。 <syntaxhighlight lang="ahk" line> ; 适用于 ahk 1.1.37.02 ; 小狼毫对竖线有特殊处理,ahk 不太认识它,所以先用一个变量存储竖线,再用 SendInput 发送 ::case:: su := "|" SendInput, {Raw}{{CaseBox Send, {Enter}{Enter} Send, {Space} SendInput, {Raw}%su% Send, {Enter}{Space} Send, question {Space}= {Enter} Send, {Space} Sen..."