Send keystrokes to TAdvWebBrowser


I'm using TAdvWebBrowser (C++ Builder 11.1, Windows 10) to show an online notetaking app. I wonder if there is a way to send keystrokes to it - I know I can put the text in the clipboard and use CTRL+V manually, but I would like to be able to programmatically do this.

I've tried the windows api SendMessage(...) with the components window handle and the inner handles used by the browser but it ignores the message.

I've tried giving the TAdvWebBrowser focus and then using SendInput(...) but, again, nothing happens.

Is it possible?



This is unfortunately not possible. The handle is not exposed and therefore cannot be access programmatically. Also, the clipboard API inside the browser is not accessible or shareable because of security.