# Screen/Display Did Connect condition with regex of Display Name's seconds\_since\_last\_trigger is not correct

**URL:** <https://community.folivora.ai/t/screen-display-did-connect-condition-with-regex-of-display-names-seconds-since-last-trigger-is-not-correct/45530>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** automations\
**Created:** [November 6, 2025, 1:45am UTC](https://community.folivora.ai/t/screen-display-did-connect-condition-with-regex-of-display-names-seconds-since-last-trigger-is-not-correct/45530 "2025-11-06T01:45:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duc\_Hoang](https://community.folivora.ai/user_avatar/community.folivora.ai/duc_hoang/32/29583_2.png) [@Duc\_Hoang](https://community.folivora.ai/u/Duc_Hoang)\
**Post date:** [November 6, 2025, 1:45am UTC](https://community.folivora.ai/t/screen-display-did-connect-condition-with-regex-of-display-names-seconds-since-last-trigger-is-not-correct/45530/1 "2025-11-06T01:45:42Z")

</div>

**Note:**  
Before bug reporting, please make sure you have tried the **latest** (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.

* * *

**Describe the bug**  
A clear and concise description of what the bug is. Any bug reports that contain insults against me or my software will be deleted without warning (unfortunately this has become necessary to mention here).

* * *

**Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):**

Dell P2422H Monitor

* * *

**Screenshots**  
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

 ![image](https://community.folivora.ai/uploads/default/original/3X/5/3/535d1ef4488851d970a69c3f1d9c42f3318ab58b.jpeg)

* * *

**Device information:**

- Type of Mac: Macbook Pro M4
- macOS version: 15.7.1 (24G231)
- BetterTouchTool version: (please post the exact version - not just "the latest one") 5.670

* * *

**Additional information (e.g. crash logs, related issues, etc.):**

The monitor at home it’s not P2422H, did connect this morning. The `seconds_since_last_trigger` value seems attached to that connect time.  
It should be the seconds since last P2422H monitor connects.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [November 6, 2025, 4:00pm UTC](https://community.folivora.ai/t/screen-display-did-connect-condition-with-regex-of-display-names-seconds-since-last-trigger-is-not-correct/45530/2 "2025-11-06T16:00:10Z")

</div>

> [@Duc\_Hoang](#):
>
> seconds\_since\_last\_trigger

This variable lists the seconds since ANY trigger in BTT has been executed

---

<div class="post-metadata">

**Author:** ![Duc\_Hoang](https://community.folivora.ai/user_avatar/community.folivora.ai/duc_hoang/32/29583_2.png) [@Duc\_Hoang](https://community.folivora.ai/u/Duc_Hoang)\
**Post date:** [November 9, 2025, 2:10pm UTC](https://community.folivora.ai/t/screen-display-did-connect-condition-with-regex-of-display-names-seconds-since-last-trigger-is-not-correct/45530/3 "2025-11-09T14:10:35Z")

</div>

@Andreas_Hegenberg How to set the last trigger off current automation?
