Make text all caps etc

how do i make a macro that changes all selected text to all caps, all lowercase, title case etc? i read the manual twice and marked up lots of stuff and i still don't know how to do this :frowning: thanks! -todd

Copy the selected text to the clipboard, use the Filter action, then paste the results. Here's one such macro I use myself for uppercasing text; I imagine you can figure out how to duplicate and modify it for your own needs.

image

1 Like

The KM manual is really good, but doesn’t contain all of the answers or all of the solutions. This forum is a great resource, you only need to search it. If you do a search on “change case“ you’ll find lots of hits.

2 Likes

thanks, good idea! do you work for km? i'm really loving km, after struggling with abandoned quickeys for so long! km is so fast, elegant, and capable!

4 Likes

thank you gglick! by the way, is that how you make a trigger where you first press c then you can press, for example, either 1, 2, or 3 to get to more specific macros? -todd

1 Like

wow, title case doesn't just initial capitalize every word, it actually does correct title case somehow! :slight_smile:

1 Like

No, no one works for Stairways Software except me. @JMichaelTX is just very generous with his time and knowledge.

No. See How do I use a multiple keystroke trigger? on the wiki.

1 Like

I get what the wiki says but it would be interesting to hear from @gglick how his macro works in relation to palettes or whatever and why exactly he has two hot keys assigned. When I tried this it just triggered the same macro using different hot keys. I am guessing he has some hot keys assigned to only work in specific apps or palettes. I can't quite see the chaining principle though?

I will say to @toddlerner that though technically quite simple in some sense, some of the structures you can create using palletes and groups can get quite complicated to track so to speak. I have lost track of some of mine at times and had to simplify them.

You use groups and palettes to control your workflows in other words, not just to 'arrange' macros as one might initially expect.

hi peter, thanks for the info (and @JMichaelTX, thanks for your generosity!)... thanks for the multiple keystroke trigger link, plus i read all of the faq's (good info in there). just loving your km, peter. and thanks again for your idea to turn off quickeys as i remake the macros in km, a lifesaving idea! -todd

1 Like

That macro I showed was just one of several text manipulation macros I have from a macro group dedicated to text. I assigned the most common ones Ctrl+NUMBER triggers for quick access, but I also assigned Ctrl+C to all of them so that I can pick and choose any less common ones I want to use from a conflict palette. This way, you get the benefits of instant access to common macros and relatively quick access to less common ones with similar mnemonic keystrokes.

3 Likes

Neat. Thanks @gglick for the reply. @toddlerner you might find the strategy useful too? I am interested in these kinds of broad, 'beyond the macro' strategies as I call them for amplyfying Keyboard Maestro. I found that really interesting and I am going to implement this strategy myself. Remembering shortcuts is a big problem for me now. I use KeyCue but that can be slow if you have a lot of shortcuts.

2 Likes