Is there a system-wide text manipulation app that enables you to select text and convert all letters to upper case or lower case, like a code text editor would?
macOS, Text – Tools to Transform Text to All Caps or Lowercase
macostext;
Related Question
- MacOS – Moving the Caret with OS X Text Substitution
- MacOS – Key combination for selecting all the text in an edit buffer
- MacOS – How to bump up text size & other graphical elements system wide
- MacOS – Making a command key for an option that already exists
- AppleScript Text – How to Prepend Text to a File
- macOS – Global Convert to Uppercase and Lowercase
- MacOS – faster way to insert text at cursor in AppleScript than “keystroke”
- AppleScript added value inside text
Best Answer
You can set this up as a right click service in automator as @Matthieu Riegler suggested.
Open up Automator.app and create a “Service” with this workflow.
Pay close attention to the checkbox up top, “Output replaces selected test”. After the workflow is in place and saved, navigate to “System Preferences-->Keyboard.” On the left hand side select “Services”. On the right hand side you will see the Service you created, in the example its saved as “UpperCase”. Then give it a shortcut by pressing “Add Shortcut” and give it what you would like. Tested in TestWrangler and TextEdit.
Script used in Automator: