Hockey,
We'll need a little hint here...Which operating system? Does this program cause the "open program" to close? (If that's the case, there is no need for a separate program....Pressing the "Alt-F4" keys at the same time will close the current active program.) For what programs did you use the "Esc" key closing method?
Hope this helps and let us know more.
Grif
I had a program that would let me click on the Esc key instead of the close x in upper right of site.
Lost it . Got from PC mag any way to find it???

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic