Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Issue Sending Multiple ControlSend()

$
0
0
 ControlSend("[CLASS:Notepad]", "" , "Edit1", "^a")    sleep(100)    ControlSend("[CLASS:Notepad]", "" , "Edit1", "^v")    sleep(100)    ControlSend("[CLASS:Notepad]", "" , "Edit1", "^a")    sleep(100)    ControlSend("[CLASS:Notepad]", "" , "Edit1", "^c")

This is some test code that I have been using to select all the text in notepad, replace it with what I need and then copying what it pasted. 

 

The issue that I am running into is that it send the select all, but then doesn't send any of the other commands. For some reason sending multiple ControlSend() isn't working. Would someone be able to assist me in getting this to work? It is crucial that it's ControlSend() and not just Send()


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>