一系列输入后如何发送加法序列? [英] How to send an addition sequence after a series of input?
本文介绍了一系列输入后如何发送加法序列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次序列 Ctrl G Up Enter 和 Ctrl G Down 时,我都想要按下kbd> Enter ,之后将Send !wi
.正常的热键工作:
I want every time the series Ctrl GUpEnter and Ctrl GDownEnter are pressed, it will Send !wi
afterward. Normal hotkeys work:
~^PgUp::
~^PgDn::Send !wi
但这不起作用,尽管~^g down enter
不是无效的热键:
But this doesn't work, although ~^g down enter
isn't an invalid hotkey:
~^PgUp::
~^PgDn::
::~^g down enter::
::~^g up enter::Send !wi
此外,由于我不知道在 Enter 之前会多次按下 Up 和 Down 的方法,因此有一种方法可以实现跳过中键?
Also, since I don't know many times Up and Down will be pressed before Enter, is there a way to make it skips the middle keys?
推荐答案
尝试:
~^PgUp::
~^PgDn::Send !wi
~^g::
Input, key, V L1, {Enter}
if (ErrorLevel == "EndKey:Enter")
Send {Enter}!wi
return
这篇关于一系列输入后如何发送加法序列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文