Auto deleting notifications by phrases or keywords

Search This thread

pawwaap

Senior Member
Dec 4, 2016
402
40
Please advise tasker newbe ;) about blocking/deleting unwanted notifications which contain defined phrases from any application (e.g. muting notifications about Google Play Framework missing (which is frozen)).

In other words, if any application displays its notification in the NotificationBar, and this notification has in its content any phrase from the list (defined somewhere by user before), then Tasker will remove this notification not to bother a user.

Probably it needs some variables:
- Notification ID
- Notification content
- List of phrases

In a profile there must be:
- Appearing a new notification
- In a loop, checking for every phrase if notification content holds it (grep ?),
- If it holds it then notification ID is written to variable and:
- Task is fired:
"close notification of given ID"

And how to code this into Tasker's language??? ;)
 
Last edited:

pawwaap

Senior Member
Dec 4, 2016
402
40
Any possibility to code it in Linux style without third patty gui plugins? Anyway thank you! :)
 

pawwaap

Senior Member
Dec 4, 2016
402
40
Yes, but maybe some text console Android system commands can read a notification content?
And also clear it, because can't find in Tasker any action of clearing a notification.
 
Last edited:

ktmom

Retired Forum Moderator
Apr 22, 2015
5,176
3,387
Deep Space Station K7
Tasker can do anything if you have sufficient knowledge. Learn how to create an app that does what AutoNotification does then use Tasker's intents/scripts to replicate it.

But then (and I say this a lot), why would you want the overhead of Tasker's framework? The whole point of plug-ins is to extend Tasker's capabilities.
 

ivy.lally

Senior Member
Nov 3, 2016
280
80
And again, Automagic does it as easy as abc:
656f95debafc69c0b20d5cab53777a6a.jpg

Please, seriously asking, how advantageous is Tasker over Automagic (excluding rubbish like ease of use, clear GUI etc)?
 
Last edited:

ivy.lally

Senior Member
Nov 3, 2016
280
80
Please, seriously answer, probably there is some trade-off between ease of use and effectiveness, stability etc?
 

pawwaap

Senior Member
Dec 4, 2016
402
40
I like how Tasker reacts on "shake" trigger, there is possibility to accurate define what sort of shakes, in which axis (left-right, to&fro) etc.
Automagic fails do it in such nice way.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Tasker can do anything if you have sufficient knowledge. Learn how to create an app that does what AutoNotification does then use Tasker's intents/scripts to replicate it.

    But then (and I say this a lot), why would you want the overhead of Tasker's framework? The whole point of plug-ins is to extend Tasker's capabilities.
    1
    Look at AutoNotification. You can intercept other apps notifications and clear them.
    1
    Different strokes for different folks