Autohotkey 在AHK中正常使用关键点并将其用作修改器

Autohotkey 在AHK中正常使用关键点并将其用作修改器,autohotkey,Autohotkey,我用自动热键重新映射了菜单键和其他字母数字键的一些组合,但这样做会禁用菜单键的正常使用。有没有一种方法,我可以重新映射组合的关键,但离开它的正常使用相同的AHK。我将把我目前使用的代码放在下面。谢谢 AppsKey & m::DllCall("SetCursorPos", "int", 2000, "int", 1440) ; The first number is the X-coordinate and the secon

我用自动热键重新映射了菜单键和其他字母数字键的一些组合,但这样做会禁用菜单键的正常使用。有没有一种方法,我可以重新映射组合的关键,但离开它的正常使用相同的AHK。我将把我目前使用的代码放在下面。谢谢

AppsKey & m::DllCall("SetCursorPos", "int", 2000, "int", 1440)  ; The first number is the X-coordinate and the second is the Y (relative to the screen).
AppsKey & =:: Send {U+2248}
AppsKey & x:: Send {U+00D7}
从中,您可以通过将
AppsKey::AppsKey
放在脚本末尾来绕过此问题。但是,这将导致菜单键仅在您松开菜单键后才能执行其正常功能,前提是您在此期间没有按过任何其他键(与您最初按下菜单键时相反)。如果功能没有发生变化,则每次试图按住菜单键以触发任何热键时,都会触发菜单键的标准功能

定稿
看,谢谢你的帮助。我在下面添加了一行,它就像一个符咒。它与您给我的解决方案有点不同,但它的功能应该类似
$AppsKey::Send{AppsKey}
出于某种原因,它使菜单键停止工作,但仅在某些应用程序中出于某种原因。我不确定这是什么原因造成的。我最后只是使用了一个不同的键而不是菜单键,现在它可以正常工作了。
AppsKey & m::DllCall("SetCursorPos", "int", 2000, "int", 1440)  ; The first number is the X-coordinate and the second is the Y (relative to the screen).
AppsKey & =:: Send {U+2248}
AppsKey & x:: Send {U+00D7}
AppsKey::AppsKey