1

How to simulate single key press is described here

How can I programmatically generate keypress events in C#?

But how can I simulate Ctrl-S combination?

Xyz
  • 5,955
  • 5
  • 40
  • 58
user10101
  • 1,704
  • 2
  • 20
  • 49

1 Answers1

1

This library on CodePlex allows you to simulate multiple keystrokes
Windows Input Simulator

InputSimulator.SimulateModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_S);
MyKuLLSKI
  • 5,285
  • 3
  • 20
  • 39