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()