I need an .exe
file that will simulate holding alt and key C.
I would use that .exe
for another project.
How can I simulate this key combination with C#?
I need an .exe
file that will simulate holding alt and key C.
I would use that .exe
for another project.
How can I simulate this key combination with C#?
You can call
SendKeys.SendWait("%c");
Where %
simulates pressing Alt
and c
simulates pressing C
See This answer and msdn for more
You can also check this list for more options