# Notification force-click action

**URL:** <https://community.folivora.ai/t/notification-force-click-action/27966>\
**Category:** Configuration Help & General Discussion\
**Tags:** trackpad\
**Created:** [August 3, 2022, 4:02pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966 "2022-08-03T16:02:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkozjak](https://community.folivora.ai/user_avatar/community.folivora.ai/mkozjak/32/27484_2.png) [@mkozjak](https://community.folivora.ai/u/mkozjak)\
**Post date:** [August 3, 2022, 4:02pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/1 "2022-08-03T16:02:06Z")

</div>

I was wondering if it'd be possible to force-click on the macOS notification bubble to run a particular command?

For example, I'd like to force-click on the Apple Mail notification in order to delete the email right away.

Thoughts, ideas?

---

<div class="post-metadata">

**Author:** ![mkozjak](https://community.folivora.ai/user_avatar/community.folivora.ai/mkozjak/32/27484_2.png) [@mkozjak](https://community.folivora.ai/u/mkozjak)\
**Post date:** [November 11, 2022, 2:51pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/2 "2022-11-11T14:51:36Z")

</div>

@Andreas_Hegenberg I guess this isn't possible at this stage, but it would be great to have. For example, "Mark as Read" for new Messages, "Snooze" for Calendar Alerts, etc...

---

<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 11, 2022, 10:20pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/3 "2022-11-11T22:20:48Z")

</div>

you kind of can using the advanced trigger conditions, however I don't think it's possible to know the application that has sent the notification.

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

To just know whether it was a notification you clicked you can create the condition hovered\_element\_details CONTAINS "AXApplication: "Notification Center""

 ![image](https://community.folivora.ai/uploads/default/original/3X/8/b/8b99eaf6a6439b14d12988eef9d7aa38a78df032.jpeg)

When hovering specific parts of the notification you can also get the text for matching, e.g. "Disk Not Ejected Properly" in my screenshot

---

<div class="post-metadata">

**Author:** ![mkozjak](https://community.folivora.ai/user_avatar/community.folivora.ai/mkozjak/32/27484_2.png) [@mkozjak](https://community.folivora.ai/u/mkozjak)\
**Post date:** [November 12, 2022, 3:57pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/4 "2022-11-12T15:57:27Z")

</div>

Thanks so much for this, Andreas! I'll see what I can do.

---

<div class="post-metadata">

**Author:** ![mkozjak](https://community.folivora.ai/user_avatar/community.folivora.ai/mkozjak/32/27484_2.png) [@mkozjak](https://community.folivora.ai/u/mkozjak)\
**Post date:** [March 4, 2025, 12:55pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/5 "2025-03-04T12:55:44Z")

</div>

@Andreas_Hegenberg - I suppose it's a far-shot question, but were there any changes in regards to this in recent BetterTouchTool and macOS versions? For example, are there now "built-in" ways to get to know what app in particular has sent the notification?

---

<div class="post-metadata">

**Author:** ![mkozjak](https://community.folivora.ai/user_avatar/community.folivora.ai/mkozjak/32/27484_2.png) [@mkozjak](https://community.folivora.ai/u/mkozjak)\
**Post date:** [May 22, 2026, 4:54pm UTC](https://community.folivora.ai/t/notification-force-click-action/27966/6 "2026-05-22T16:54:31Z")

</div>

@Andreas_Hegenberg - shameless ping but, maybe any updates?
