我从Noctis Skytower找到了一个Keypress代码,但我无法模拟ø或Ø等ASCII键。
我的意思是Noctis Skytower的答案:
我试过了
SendInput(Keyboard(VK_MENU))
SendInput(Keyboard(KEY_1),Keyboard(KEY_5),Keyboard(KEY_5))
SendInput(Keyboard(VK_MENU,KEYEVENTF_KEYUP))
和
SendInput(Keyboard(VK_MENU),Keyboard(KEY_1))
SendInput(Keyboard(VK_MENU),Keyboard(KEY_5))
SendInput(Keyboard(VK_MENU),Keyboard(KEY_5))
和
SendInput(Keyboard(VK_MENU))
SendInput(Keyboard(VK_MENU),Keyboard(KEY_1))
SendInput(Keyboard(VK_MENU),Keyboard(KEY_5))
SendInput(Keyboard(VK_MENU),Keyboard(KEY_5))
SendInput(Keyboard(VK_MENU,KEYEVENTF_KEYUP))
但所有样本都不起作用。