If-Condition works only sometimes

The macro below should do the following:

  • If Scrivener is the front app, go to the last app.
  • If Scrivener is not the front app, go to Scrivener.

Unfortunately, it only works sporadically (especially "last app"). Am I doing something wrong?

edit: I just realize, it never works if the last app is "Aktivitätsanzeige", Safari or VLC. ...
It works fine with Vivaldi or Finder ... very strange.

Not important, the same works with KM with any "last app". But I would rather do this with BTT. :slightly_smiling_face: