autohotkey 模拟热键

发布时间:2019年11月06日 阅读:232 次

最近*朋友的姐姐要实现一个WPS,自定义快捷键快速双下划线功能。

于是网上搜了一下,写了个小脚本,在这儿分享一下


#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.

; #Warn  ; Enable warnings to assist with detecting common errors.

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

!z::

send !H3{Down}{Enter}

return

!a::

send !H3

send ^u

return  

;{Down}{Down}{Enter}


Tag:
相关文章

发表评论: