We are writing a Python application that relies on copying and pasting content from the top windows. To do that we issue sendkey commands: Ctrl-Esc for going to the previous windows Ctrl-A followed by Ctrl-C to copy all text from the window And Cnrl-V to paste the the clipboard content to the top window. Unfortunately at times we run into timing problems.
Is there some way to queue the SendKey commands so that Cntl-A waits for Alt-Esc, and then Cntl-C waits till Cntl-A is done? Or perhaps there is a way to know when each command is finished before sending the next one?
Thank you in advance for your help.