Welcome Guest Search | Active Topics | Sign In | Register

Emulating special key Enter no longer works Options
serializer
Posted: Friday, February 15, 2019 6:30:47 AM
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.
eo_support
Posted: Friday, February 15, 2019 7:54:50 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.