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

Was it helpful?

Solution

Thnx. that worked for me. Also we can use x.controlSend("Window Title","text","","{ENTER}",false);

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top