You might find my SpeedKeys macro helpful. It allows an inexpensive 10-key pad (or extended keyboard 10-key pad) to function as a keyboard for macros that switch automatically to different sets based on the application that is running.
I suspect your keyboard is not much different and might even work with SpeedKeys.