I'm trying to hold down CTRL while C is pressed but I can't get it work. I've read SendKeys Class but still, it doesn't work.
Thats what I've tried:
SendKeys.SendWait("^C");
SendKeys.SendWait("{^C}");
SendKeys.SendWait("^{C}");
SendKeys.SendWait("^(C)");
SendKeys.SendWait("(^{C})");
You need to put in parenthesis. Example:
SendKeys.SendWait("^(c)");
Notice that c should be lowercase. It is case sensitive
use + instead of ^ for shift and put in parenthesis. (^ for control and + for shift; in your question you said shift). And remember c must be in lowercase.
SendKeys.SendWait("+(c)");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With