I'm trying to do some lightweight macro to insert copyright into the files I produce. I have a shortcut that formats todays date to only be the year in four digits and then I use that in a text field I want to paste in to my application (Sibelius). Sibelius uses this $something\ code as tokens so I want to input my name as such.
However, when pasting from the macro, KM doesn't input the first -sign. My guess is it's because it comes right after a variable but I don't know what to make of it.
As you can see I've tried inserting an extra space after System Clipboard but it doesn't help. I also tried copying the token from Sibelius in to the macro in case I had used the wrong character but it didn't help either.
Any explanations and possible workarounds?
When the missing \ is in from of the $ only the value will be shown and not the token itself.
Try changing the problematic single \ to a double \ so that it escapes itself.
Also, you don't need to use the Apple Shortcut and clipboard to get the current year as four digits. You can make your Macro with one single Keyboard Maestro Insert text by pasting Action: