打勾复选框经常用到,但是很多人找不到在哪里,使用本代码可一键插入:
`+d:打勾复选框;
`+k:空白复选框
打勾复选框经常用到,但是很多人找不到在哪里,使用本代码可一键插入:
`+d:打勾复选框;
`+k:空白复选框
` & d::
打钩复选框:
wd:=ComObjActive("word.application")
wd.ScreenUpdating:=0
en:=wd.selection.start
wd.Selection.InsertAfter("00FE")
;~ wd.ActiveDocument.Range(en-4, en).Select
wd.Selection.Font.NameAscii:="TimesNewRoman"
Send !x
wd.Selection.Font.NameAscii:="Wingdings"
wd.Selection.Font.NameOther:="Wingdings"
wd.ScreenUpdating:=1
return
` & k::
空白复选框:
wd:=ComObjActive("word.application")
wd.ScreenUpdating:=0
en:=wd.selection.start
wd.Selection.InsertAfter("00A8")
wd.Selection.Font.NameAscii:="TimesNewRoman"
Send !x
wd.Selection.Font.NameAscii:="Wingdings"
wd.Selection.Font.NameOther:="Wingdings"
wd.ScreenUpdating:=1
return
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。


既然用脚本了,为什么不直接 send ☑ ➡ ➡