Often when I am using an external keyboard I type a paragraph or so with he caps lock on, since there is no indication that capslock is engaged and no way to disable it,
What I would like to be able to do is select the text and change the case.
I can create a shortcut to change the case of the text, of courser, but I can’t trigger it from selected text… or can I? How?
It seems I have to select the text, copy the text, turn the shortcut, and then paste the new text back?
You could do something more automatic with a specific app. For example you could have a Drafts action work on the current line/sentence.
Similarly TextExpander can streamline the last bit as you can work with the clipboard and replace via a typed string- you just can’t auto select in any app with it.
Nothing is done with the text. I’ve tried various things, including trying to paste the text to the clipboard but even with that after Change case {Sentence case} the clipboard, at best, contains only the all caps text.
Sure, but it looks just like the previous image. Type something in all caps, select it, tap “copy”, select it again, choose share, shortcuts, “Case”, select text again, paste, and you get all caps text pasted.
If your text is all caps you need to lowercase it first. The case actions in Shortcuts work by not modifying uppercase of letters unless explicitly told to. So make it lowercase and then make it sentence case (just put the actions one after the other) and that will fix it
Wait. Why would that be? If the string is uppercased and you ask for title case shouldn’t it do it? I mean, what’s stopping it from carrying out that function? Similarly, if you have a lowercased string and you ask for sentence/title case, it will do it, no?
The reason is that in title and sentence case, capitalised words, acronyms, etc. (e.g. BBC, IBM, TESCO) remain capitalised. That’s why for an instance of all accidentally uppercase text you would lowercase it first. It can seem illogical at first, but it is actually logical behaviour.
What I really want, of course, is “select text, run shortcut, text is changed.” What I have now is “select text, run shortcut, select text, paste text”.
Which is where my original reference to writing in Drafts would have a distinct advantage, as it would be one tap of an action key/item or possibly a keyboard shortcut (for a physical keyboard) to select the text automatically based on cursor position, process the selection and replace it.
But the point to keep in mind with this is that iOS has a stricter security model than many other mainstream desktop and mobile operating systems that protects but also constraints. As soon as you step outside the current app, you will hit limitations around what permissions apps have in regards to sharing and interacting.