Need to create 2 scripts in automator.

  1. Select text in any application (textedit, pages etc.) and change all letters from lower case to upper.
  2. Same, as above, but from upper case, to lower.

Scripts should work not only with English, but with other languages as well. Thank you.

  • What have you already tried? – nohillside Jan 9 '16 at 8:10

You can do it for a lot of apps [not all, but certainly all Apple apps] from

System Prefs > Keyboard > Shortcuts > App shortcuts

enter image description here

|improve this answer|||||

You can convert a text file's content to lowercase or uppercase using the dd command in Terminal.

Convert to lowercase:

$ dd if=input.txt of=output.txt conv=lcase

or uppercase:

$ dd if=input.txt of=output.txt conv=ucase

Tip: If you're working from the desktop then it may be easier to cd into the directory, rather than copying the file path or dragging and dropping the file into the Terminal window:

$ cd ~/Desktop

|improve this answer|||||
  • Conversions with dd only work for a-z/A-Z, not for characters used in other languages than english. – nohillside Jan 9 '16 at 9:12
  • The question stipulates "select text in any application" but this answer is to "convert a text file's content" – ian.pvd Jan 23 at 5:08
  • @ian.pvd this question is 4 years old but anyway... reading the question now, I may have interpreted it as "convert a select text file or document" as opposed to "convert the selected text". – TimD Feb 13 at 10:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .