Thnx. that worked for me. Also we can use x.controlSend("Window Title","text","","{ENTER}",false);
Not able to send key using AutoItX with java
-
27-06-2023 - |
Question
I am new to AutoIT. I can access and use the AutoItX in java. But now I am facing problem that I am not able to send the key, The sendkey parameter is not considered as key, instead it is considering as text
e.g in my code x.send("{ALT}n");
In this case key is not getting pressed instead the text {ALT}n is displaying in notepad Please suggest. Thanks for your help in advance.
Rupali
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow