像 AutoHotkey 这样的程序可以使用 JavaScript 在浏览器中实现(作为附加组件)
我想到的 AutoHotkey 的主要用途是让您定义短语快捷方式,例如输入“tyvm”会产生“非常感谢” - JavaScript 是否足够快且有足够的能力来做到这一点?
The main use of AutoHotkey I'm thinking of is to let you define phrase-shortcuts, like typing "tyvm" would yield "thank you very much" - is JavaScript fast enough and capable enough to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您只是在寻找 AutoHotkey,您的问题并不完全清楚,所以我想我会说“是”并通过参考另一个实现来支持这一点: http://keithcirkel.co.uk/jwerty/ 在 JavaScript 中处理键盘事件。
Your question wasn't exactly clear to if you were only looking for AutoHotkey, so I though I would state "YES" and support that by reference to another implementation: http://keithcirkel.co.uk/jwerty/ in JavaScript that handles keyboard events.
我不会说这是 autohotkey 的主要用途,但这既不在这里也不在那里,
总而言之,是的,是的,它足够快,否则输入将无法有 keydown/keyup 事件。
是什么让你认为 javascript 很慢?
I would not say that is the main use of autohotkey, but that is neither here nor there,
In a word, yes, yes it is fast enough, otherwise inputs would not be able to have keydown/keyup events.
What makes you think javascript is slow?