Hi everyone!
I'm excited to have finally purchased a license and explore Keyboard Maestro, I loved it during my trial!
I'm hoping someone here can provide some help as I'm unable to turn up any solutions on the web so far.
The issue
I'm trying to have a list in txt file which has 2 hierarchy levels, the first level start with "xx" and the second one "zz"
I want to automatise the replacement of the character with a one TAB for xx and two tabs for zz to recreate the hierarchy I had in a word document with indentation and save the list a .txt.
Example
xx Mammals
zz Lion
zz Elephant
zz Giraffe
xx Birds
zz Eagle
zz Ostrich
zz Pigeon
Desired outcome
# My system
- macOS Ventura 13.1
- Keyboard Maestro 10.2
# Things I've tried
*Automatize the action search and replace searching for xx and replacing with %Tab% or with ^t however it doesn't write a tab and but it jumps to the next element (when I replace with %Tab%) or it just replace with ^t. I was able to write in the replace bar the tab by using the unicode Hex input and holding ⌥ + 0009 however I don't know to replicate this manual key sequence in KM. Can somebody help me or suggest an alternative way?
Thank you!
Apps tested with
- TextEdit