Pregunta

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

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top