the short answer is look in help for Autokeys...
but, i suspect this won't be what you are looking for as they are global to your application.
f-keys are not very user-friendly, and there are many other ways to get the same result.
---you wrote---
For example, I have a text box, and want to...