Send Control key signal
-
Hey how can I send the key signal for the control key I've tried but I can't get it to work. I'm using the SendKeys.Send("{}")
SendKeys won't send just a modifier key. You have to have an alphanumeric key between those braces also. The only way to send just the Ctrl key is to use SendMessage API call and post the WM_KEYDOWN and WM_KEYUP messages to the appropriate window. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
SendKeys won't send just a modifier key. You have to have an alphanumeric key between those braces also. The only way to send just the Ctrl key is to use SendMessage API call and post the WM_KEYDOWN and WM_KEYUP messages to the appropriate window. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hey how can I send the key signal for the control key I've tried but I can't get it to work. I'm using the SendKeys.Send("{}")
Rylogy wrote: Hey how can I send the key signal for the control key [...] I'm using the SendKeys.Send("{}") Have you tried
SendKeys.Send("^")
(see SendKeys Class[^])? Best regards Dennis -
Rylogy wrote: Hey how can I send the key signal for the control key [...] I'm using the SendKeys.Send("{}") Have you tried
SendKeys.Send("^")
(see SendKeys Class[^])? Best regards Dennis