Keyboard Maestro 8.2.1 “微信” Macro
微信.kmmacros (3.8 KB)
I have revised the title of your topic to include an English translation, which I got from Google. If this is not good, please update the Title.
Note the warning triangle on this action:
It is telling you that this is not a good way to “open” and application. The reason in particular is that some systems get confused and think some other random application is the “owner” of the .app extension files.
So at the very least, you should configure it to open with the Finder. But generally what you want is the Activate a Specific Application action instead. Especially since that is your next action anyway.
Use “select or show a menu item” is better than a click on fixed mouse position.
使用 “select or show a menu item”比点击固定的鼠标位置要更好。
You may consider GUI Scripting to manipulate WeChat，which should be more powerful.