Have you looked at Phrase Express yet? I used it a while ago for text expansion on my Windows computer at work, but I know it has a macro recorder that might allow you to do what you described above too.
2 Likes