I have repetitive strain injury in my hands which made it difficult to play online poker (it's a lot of mouse moving and clicking i.e. folding)
So I created a script which took a screenshot every 100ms, it scanned the image and checked the cards I had.
If the cards were bad (e.g 2h7s), it clicked "fold" for me automatically