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?

Aron Cederholm
  • 5,612
  • 5
  • 39
  • 56
txt
  • 1,634
  • 2
  • 17
  • 48

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,237
  • 3
  • 19
  • 38