How to make script to convert lower case characters into upper and vice versa
You can do it for a lot of apps [not all, but certainly all Apple apps] from  

System Prefs > Keyboard > Shortcuts > App shortcuts