I want to send keystrokes to another application. For example: I have opened a browser and I want write keystrokes to an opened notepad app without targeting notepad window. I just want for the browser window to be active the whole time.

Is it possible?