I have an emoji palette that only activates in a specific application (whatsapp).
Within it, I have a simple macro where I paste an emoji by the action “Insert text by typing” and assigned it with the hotkey “CMD-J”. It did not trigger the macro when I pressed that hotkey! Why?
When I changed the action to “Insert text by pasting” instead, I can trigger it with the same hotkey ”CMD-J”
I have another macro in the same palette that involves using the action “Insert text by typing” and it works as well!
So I am just so confused as to what’s going on here???
The application called "WhatsApp Desktop" is an Electron app, I think. Such apps are create with non-Apple frameworks. They are slow, laggy, and use more resources and battery power. In a sense, they aren't "real" macOS apps. As such, lots of tinkering needs to be done if you want them to behave like a real app. I refuse to install such apps, so I can't really help. But there are other people on this site who will probably not share my disdain, and will offer help.
I don't think it's because whatsApp is an Electron app.
I have tested it on several other applications: Notes, Finder (search field), Keyboard maestro (any text field), Chrome (browser), Things, PDF expert. They all resulted in the same thing I mentioned, not just WhatsApp.
Also, I just tested the same thing (Insert text by TYPING vs PASTING) but with text. It worked fine with text but not emoji.
Sorry, I meant to say it did not perform the action due to some reason (not "it did trigger the macro")
okok
That's my theory initially, but then the emoji is actually typeable when I used "Insert text by typing" action together with other actions. (as shown in "3)" of my screenshot).
Plus, if I change to a string trigger, it could be typed out too!