# BTT 3.839 - Delay Next Action (blocking) cannot accept more than 999.9 seconds

**URL:** <https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** delay-next-action\
**Created:** [August 30, 2022, 3:31pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248 "2022-08-30T15:31:29Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [August 30, 2022, 3:31pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/1 "2022-08-30T15:31:29Z")

</div>

**Describe the bug**  
As a user, you cannot go above 999.9 seconds for the Delay Next Action (blocking) action.

**Device information:**

- Type of Mac: MacBook Pro (13-inch, M1, 2020)
- macOS version: 11.6.8 (20G730)
- BetterTouchTool version: BTT 3.839

**Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):**  
I am trying to set a delay of 25 minutes (the time of one Pomodoro) which toggles my Do Not Disturb setting in MacOS, and I have to resort to creating 3x 500 second Delay Next Action tasks to accomplish this

---

<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:** [August 30, 2022, 3:36pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/2 "2022-08-30T15:36:36Z")

</div>

The blocking delay next action should only be used for very short amounts as it is actively blocking and making BTT unresponsive during that time (and costing some CPU).

//edit: ah sorry I didn't see the detailed description. So you basically want to trigger some action in BTT after 25 minutes?  
I think I should add a special action for that use case.

---

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [August 30, 2022, 3:53pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/3 "2022-08-30T15:53:07Z")

</div>

Thank you for the reply Andreas!

Yup, that's exactly what I'm looking to do, delay the Do Not Disturb toggle after 25 minutes (end of Pomodoro)

I'm very happy to try another avenue if I've chosen the incorrect way to handle this scenario.

---

<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:** [August 30, 2022, 3:57pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/4 "2022-08-30T15:57:40Z")

</div>

For the next version I'll fix the bug with the 999.9 seconds and also add a better way to achieve this. The new action will probably be called "Trigger actions after timeout" or something like that.

I'll also make it more explicit that the "delay next action" helper actions should only be used for short delays.

---

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [August 30, 2022, 4:03pm UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/5 "2022-08-30T16:03:11Z")

</div>

Amazing! Thank you so much 🙂

---

<div class="post-metadata">

**Author:** ![SLE](https://community.folivora.ai/user_avatar/community.folivora.ai/sle/32/25025_2.png) [@SLE](https://community.folivora.ai/u/SLE)\
**Post date:** [August 31, 2022, 5:35am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/6 "2022-08-31T05:35:34Z")

</div>

I´m piggybacking this thread for a related question. Is it possible to tell BTT "delay till something happens" or "Pause Until Conditions are Met". For example delay the next action till "all of the following are true: the screen contains Image: button.jpg" Thx

---

<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:** [August 31, 2022, 7:37am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/7 "2022-08-31T07:37:13Z")

</div>

No, BTT doesn't have functionality like this. If you have a specific use case in mind please create a feature request.

---

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [September 2, 2022, 8:22am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/8 "2022-09-02T08:22:05Z")

</div>

I've found a way to achieve this in the mean time, by using a custom AppleScript that runs in the background which has delay of 1500 seconds before issuing a keystroke combination to system events, that I've mapped to the Do Not Disturb action.

---

<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:** [September 2, 2022, 8:23am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/9 "2022-09-02T08:23:37Z")

</div>

It was also added in the latest BTT alphas

"Execute Action Sequence after Timeout" and "Cancel Scheduled Execution of Action Sequence". In contrast to the "delay next action" they allow to trigger an action sequence after longer delays (e.g. after half an hour).

---

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [September 2, 2022, 8:38am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/10 "2022-09-02T08:38:48Z")

</div>

That was quick! Thank you so much 🙂  
I will download the Alpha version and try it out.

---

<div class="post-metadata">

**Author:** ![Gareth\_Stephenson](https://community.folivora.ai/user_avatar/community.folivora.ai/gareth_stephenson/32/22734_2.png) [@Gareth\_Stephenson](https://community.folivora.ai/u/Gareth_Stephenson)\
**Post date:** [September 9, 2022, 7:13am UTC](https://community.folivora.ai/t/btt-3-839-delay-next-action-blocking-cannot-accept-more-than-999-9-seconds/28248/11 "2022-09-09T07:13:30Z")

</div>

Thank you so much for this update, it works perfectly!
