Me too! With Sendkeys and some Win32 API calls, I wrote an AOL add-on (available through Keyword: addons) called AoLOL!. It was my first software business.
Q: How do you identify the AOL window?
A: Look for an app with titlebar = "America[space][space]Online"
And BeOS/Haiku with the "Hey" command which does literally the same, but far more than key input. You can interact with widgets too.
Under Unix, there's xdotool and friends.
https://learn.microsoft.com/en-us/dotnet/api/microsoft.visua...