and write something on the last active window.
example: a command button cmd does
sendkeys("A"
but when i press the button, my word, wordpad or any textbox that was active (another program) is not anymore.
is there an api call to know what was the last active window and when i know that, how can i send text to it?
example: a command button cmd does
sendkeys("A"
but when i press the button, my word, wordpad or any textbox that was active (another program) is not anymore.
is there an api call to know what was the last active window and when i know that, how can i send text to it?