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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top