Re: SimulateKeyEvent
Posted: Mon Jun 03, 2024 12:10 am
I think I've found a solution. Instead of sending individual keystrokes, I've found I can use the following javascript to enter a value into an input element:
There is a potential problem with this because document.execCommand() is deprecated, although it still works, and if it doesn't still work in the future I'll have to try something else.
Code: Select all
TempJavaScript := 'document.execCommand("insertText", false, "jc4golf@outlook.com");';