问题
I found this useful script on this thread to remap a key on a game.
T::
SetKeyDelay,300
Send {Blind}{b DownTemp}
Send {Blind}{b Up}
It works for the game I'm playing but I have not figured it out for a more sophisticated command like remapping T to Ctrl+B?
I thought of changing the script like this, but it doesn't work:
T::
SetKeyDelay,300
Send {Blind}{Ctrl DownTemp}
Send {Blind}{b DownTemp}
Send {Blind}{b Up}
Send {Blind}{Ctrl Up}
return
来源:https://stackoverflow.com/questions/21557385/sending-combo-key-action-simulating-directinput