Calling `reveal_element_in_ui` for Triggers in All Apps doesn't work

Describe the bug
Calling tell application "BetterTouchTool" to reveal_element_in_ui "[...]" doesn't work if the Trigger UUID is in "For All Apps" i.e. global. It does work if the Trigger associated with an app or CAG.

Instead, you see null with no triggers.

Device information:

  • Device: MacBook Pro (14-inch, 2021)
  • macOS: 15.2 (24C101)
  • BTT Version: 5.158 (2025020202)
  • Alpha: 0 update(s) behind latest Alpha version 5.158 (2025020202).
  • Regular: Installed version is ahead of latest Regular version 5.140.

Here's a screen recording.

@Andreas_Hegenberg any ideas?

Weird, it looks like it's getting an invalid App object. Maybe this is related to your other issue with the get_triggers function.
It works ok here with "All Apps" as well.

I'll add some debug logging to the revealing process in the next alpha

1 Like