Key Command Auto Generator

Hey friends! If your snippets incorporate a TON of key commands like mine do, then you know it can take a long time to write the key commands for every single character that you want your snippet to simulate key presses for. So, I thought to myself, "It sure would be great if I could simply write my text into a formtext field (or paste it in), and have Text Blaze instantly convert it to key commands that I can then copy/paste into my snippet." This one was tough to figure out. So, I partnered with my good friend @Gaurang_Tandon at Text Blaze and we came up with the following. It works perfectly! I hope you love it as much as I do. Thank you Gaurang!

-Brad :fire:

Enter your text: {formtext: name=inputtext}

Key Commands: {result=map(lower(split(inputtext, "")), x -> "{key:space}" if x = " " else "{key:" & x & "}")} {=join(result, "")}