Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top