There is no generic "keyboard macro program"
that runs at boot ... there's a few tools out there,
some built into certain DEs/WMs ...
Have a look on
http://freshmeat.net and tell us
what window manager you're using. And also
what kind of (how many) keyboard macros you
want to use.
Cheers,
Tink