DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

自动生成/取消列表编号的ahk脚本


生成效果如下:

原始文本:

the first line;

the second line;

the third line;

转换后文本:

  1. the first line;

  2. the second line;

  3. the third line;

取消则是生成的逆过程,用于列表中插入新内容后用“取消->再次生成”的方法刷新列表编号。

生成脚本:

^b::

clipboard =

SendInput, ^c

ClipWait

clipboard = my prefix %clipboard% my suffix

SendInput, ^v

return

取消脚本:



Published

Feb 24, 2012

Last Updated

Feb 24, 2012

Category

Tech

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor