标签: .net wpf
此处描述了如何模拟单键按下
How can I programmatically generate keypress events in C#?
但我怎样才能模拟 Ctrl - S 组合?
答案 0 :(得分:0)
CodePlex上的这个库允许您模拟多次击键 Windows Input Simulator
InputSimulator.SimulateModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_S);