Hi all – I'm a part time YouTube hobbyist and silent admirer of this subreddit. In this age of employers determining productivity by random screenshots on remote workers or active status on MS Teams, I wanted to show others (especially noobs and those that don't code) some tricks for using Python to “ghostwrite” or simulate a person typing. This can be used to output text anywhere – MS Teams, MS Word, Excel, Slack, etc. My work computer is garbage and so I often use my personal computer to do work, yet, if my employer were to check on me, it would appear I'm not even working. Thankfully, my boss understands and does the same thing.
As you might have guessed by my name, I keep my videos short and prefer to engage with people who have questions rather than have hour long videos. I'm barely scratching the surface, but it's a start.
Here's a link to the video if you are interested: https://youtu.be/96ov_2d7DEg
If YouTube isn't your thing and you just want to see some code, here's some links.
Basic ghostwriter – type out a statement, highlight/erase it, move onto next statement: https://controlc.com/2cdfdd69
Import document text from Microsoft Word, type the text somewhere else (i.e., another Microsoft Word document) -> erase the text and repeat indefinitely until you hit the ESC key to stop: https://controlc.com/d376331b