The answer is: "Mercury winrunner", which was hugely popular in the late 90s, and which is probably still widely used for win apps.
Not sold as such anymore, but if I'm not mistaken now available as HP QuickTest Professional. See the wikipedia page on HPQTP.
Its now became HP Unified Functional Testing(UFT)2