Basically I have a program that I use to study and I need to be able to quickly choose between a 8 choice answer button. The program does not have inbuilt keyboard shortcuts. I need to answer a question every 2 seconds so moving the mouse around gets tiring if I could just associate where the buttons are to 1-8 on the keyboard that would be great.
Try the TAB + Enter key. The TAB key should move the cursor to next question, the enter key should answer it.
Setting it up with 1-8 requires more doing, and you need to tell us what program are you using.
Try saving scripts like this in AppleScript Editor and assigning them shortcuts with FastScripts or other applications:
Another option would be to use Keyboard Maestro: