简体   繁体   English

AutoHotkey-如何设置同时按下两个键以发送另一个键

[英]AutoHotkey - How to set two keys pressed at same time to send another key

I read in some post that Autohotkey allow to set two keys pressed at same time to send another key, ie letter B and number 1 pressed at same time wil send letter P. It is posible? 我在某篇文章中读到,Autohotkey允许设置同时按下两个键来发送另一个键,即同时按下字母B和数字1来发送字母P。这可能吗? how is the script? 脚本怎么样? thanks advanced. 谢谢先进。

You can create a custom key combination by typing the name of each key separated by an ampersand, like this: 您可以通过键入每个键的名称(以&号分隔)来创建自定义键组合,如下所示:

B & 1::P

Keep in mind, though, that the first key will lose it's original function. 但是请记住,第一个键将丢失其原始功能。 To work around it, using the B & 1 example, make a hotkey for "b" that sends "b". 要解决此问题,请使用B & 1示例,为发送“ b”的“ b”创建一个热键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM