sendkeys
sendkeys copied to clipboard
[feature]:
Add option to specify which app window keystrokes should go to
It would be helpful to add an option (maybe --targeted-window) so that the keystrokes sent can be directed to a specific window of a specific application when the windows don't have their own process. The option could be used with --application-name --targeted and --no-activate. Currently, it seems they go to whatever was the last active window of the application and if the application doesn't create a separate process for each window then the --pid option isn't a solution. The new option could look for the supplied argument string occurring anywhere in the title of the desired window (ignoring case).
Other information:
No response