Thanks so much for posting this! a great solution for those of us working with a SDR in tx.
I tested it on two computers, the first with a native serial RS232 hardware com port and it works fine. However in a newer PC with no RS232 port and using a USB to COM converter the time latency is high and cannot key faster than 5 wpm with a straight key.
In any case a great solution!