logoalt Hacker News

philfreoyesterday at 3:44 PM3 repliesview on HN

Cool. Reminds me of using SendKeys() in Visual Basic 6 in the 90s

https://learn.microsoft.com/en-us/dotnet/api/microsoft.visua...


Replies

sebastiennightyesterday at 7:52 PM

I loved SendKeys()!

Used it to write programs that would run in the background & spook my friends by "typing" quotes from movies at random times on their computer.

halfcattoday at 12:05 AM

SendKeys() in VB powered basically all of the AOL chat bots in the 90’s.

It’s how I accidentally learned the Win32 API

anthkyesterday at 6:51 PM

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.