AHK:{space} 不工作?

AHK: {space} not working?

我有这段代码,我正在为我玩的游戏编程。没什么特别的。我想要它 运行 一个简单的功能。发送。除 {space} 外,一切正常。在游戏中,空格键用于让你的角色跳跃。我用那个试过了,但没有用。下面是代码:

NumpadEnd::
    Send wc
    Sleep, 300
    Send {space}
    Sleep, 600
    Send ddq
    Sleep, 400
    Send e
    Sleep, 500
    Send ssz
    Sleep, 100
    Send g
    Sleep, 1100
    Send asdq
    Sleep, 500
    Send q
    Sleep, 900
    Send sc
    return

尝试:

SendMode Input

NumpadEnd::
    Send wc
    Sleep, 300
    Send {space Down}
    Sleep, 50
    Send {Space up}
    Sleep, 600
    Send ddq
    Sleep, 400
    Send e
    Sleep, 500
    Send ssz
    Sleep, 100
    Send g
    Sleep, 1100
    Send asdq
    Sleep, 500
    Send q
    Sleep, 900
    Send sc
    return