Reference Action Name in Script

I am trying to write some keyboard actions scripts which will be named with an Emoji. The goal of each action is to insert some text in the draft with that same emoji in the text.

Can I refer to the action name in the javascript so I can clone the same script over all the actions on the keyboard?

1 Like

That is not possible at this time. More context information in the scripting environment is planned, but not there yet.

1 Like

Ok, thanks, tweaking the scripts isn’t hard at all, I’m just ultimately lazy and hate to do more than I need. :slight_smile:

Is this something TextExpander could do? You can reference other expansions and “chain” them together so as not to repeat the same text. That is, if all you need to do is insert static text.