arduino uno keyboard emulator

how can I make arduino send keystrokes to computer
for example if I pressed "F2" on key board it will rename whatever is highlighted, so how to push button connected to arduino to do the same function of "F2". (this is an example)

not over usb on an uno (easily)

look up v-usb & arduino as a starting point

abdelmoneam:
how can I make arduino send keystrokes to computer
for example if I pressed "F2" on key board it will rename whatever is highlighted, so how to push button connected to arduino to do the same function of "F2". (this is an example)

Should be able to achieve this with an Arduino Leonardo. The Leonardo is capable of emulating a keyboard and mouse. Read up on these:

http://cal-eng.com/?page_id=579
http://arduino.cc/en/Main/arduinoBoardLeonardo

http://arduino.cc/en/Reference/MouseKeyboard

Should be able to fulfill your requirements.

Goodluck - Luke