Button press Typing

Hey everyone.. is it possible to create a button and sends text? for example.. I want to press a button and I want it to type something on the keyboard (name etc..)

I would appreciate any help...

Cheers,