Is there any way to make it so that when i hit a button in my form that it can recod the mouse evets that i do in windows so that i can use them at a later time?

Kinda like ez macoes does.

Any imput on this would be geatly appreciated.