Tool to transform text to all caps or lowercase

Solution 1:

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.

enter image description here

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:

on run {input, parameters}
set upperCaseString to ¬
    (do shell script ("echo " & input & " | tr a-z A-Z;"))
return upperCaseString
end run

Solution 2:

I am on Mountain Lion 10.8.5 and for all editable text I can select and right click the text and choose Transformations -> Make Upper Case.

enter image description here

However, it seems this does not work in all applications. TextWrangler for example does not show this menu. All system applications (Finder, TextEdit, Mail, Calendar, etc...) do.

Solution 3:

Another tool that I use is PopClip

The application can transform selected text to UPPERCASE or even Proper Case or lowercase. There are several settings for search and other context relevant actions.

I am not affiliated with the developer.

PopClip Settings

PopClip context

This is a sample based editing this answer...


PopClip in context using selected text