@deanishe Registered to the forum just to say thank you!. Workflow is magic, as @Jakub Sypiański says.
I mostly figure out what I need with Alfred Workflow, but the suffix use case was driving me crazy. I was trying to replicate the behavior of Haste (great app if you want a simpler version), but my OCD suffered by having both apps open.
Anyways, thanks again for sharing the script – saved me a bunch of extra grey hairs.