Craig Schwarze
Craig Schwarze

Reputation: 11625

How can I send ctrl+x with Sendkeys?

How can I send CTRL+X using Sendkeys.Send in C#?

Upvotes: 5

Views: 4746

Answers (3)

Mitch Wheat
Mitch Wheat

Reputation: 300579

SendKeys.Send("^X")

Ref.

Upvotes: 4

Tommy
Tommy

Reputation: 1985

um.. can be this?

SendKeys.Send("^x");

Upvotes: 1

Samuel Neff
Samuel Neff

Reputation: 74909

This should do it.

SendKeys.Send("^X")

.. but SendKeys.. yuck.. :-)

Upvotes: 5

Related Questions