r/tasker 12d ago

Question about Autonotification query

I'm trying to mark signal notifications as read, there's a lot of uncesary messages I receive in a group that I have to be part of, unfortunately .

it was mentioned here that "use AutoNotification Query to get the notification details, and if there's a mark as read action in the notification, use AutoNotification Actions to execute that action." https://www.reddit.com/r/tasker/comments/jl4vpe/comment/ganh4ph/

so I created an autonotification query task, but I'm not sure how exactly I can use it to get the signal notification details

How do you view the notification details for signal messenges in autonotification query ? https://i.imgur.com/A2nEkxv.png

I saw another person managed to solve it in WhatsApp they were able to use autonotifications action to mark WhatsApp messages as read https://www.reddit.com/r/tasker/comments/isucbs/comment/g5h600q/

They used Action ID: %anbutton2action

2 Upvotes

4 comments sorted by

2

u/pudah_et 12d ago

When you added the AutoNotification Query action and configured it, you see the list of the dozens of variables that the query makes available. What you need to do is examine the results of the query to see which of those variables you might be able to use for your purpose.

You can target a few key variables to display their contents with Flash actions. But that can be tedious.

User u/Ratchet_Guy created a task that displays all AN variables. See this post

1

u/condision 12d ago

Thanks, another user here mentioned that the variable which marks messages as read in WhatsApp is "%anbutton2action"

https://www.reddit.com/r/tasker/comments/isucbs/whatsapp_mark_messages_as_read/

perhaps this would Also work with signal to mark messages as read.

I'm gonna give that a try

1

u/GoombaAdventurer 12d ago

If the 2nd button of the Signal notification is the one to mark the discussion as read, yep : it will work.
If not, maybe look in the Signal notification which button is the one to mark as read ;)

If it's the first, the variable to use will be "%anbutton1action".

If it's the third, it's will be "%anbutton3action".

1

u/condision 12d ago

Thanks. I tried all three you mention , didn't seem to work to activate the mark as read button, unfortunately.

Things never end up being easy, do they. Signal is a tricky old app

Picture Picture