Rank: Advanced Member Groups: Member
Joined: 5/9/2016 Posts: 84
|
I am trying to record key strokes. For example typing into google search and press Enter. But enter cannot be sent anymore since some version(s)?
I am using the latest build.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, Please try the following code and see if it works for you:
Code: C#
webView.SendKeyEvent(true, KeyCode.Enter);
webView.SendChar('\r');
webView.SendKeyEvent(false, KeyCode.Enter);
Thanks!
|