App name of notification

146 views
Skip to first unread message

Peter Stark

unread,
Apr 6, 2015, 5:28:25 AM4/6/15
to tas...@googlegroups.com
I've set up a profile which uses the UI notification on *any* App. I pass on the NTITLE to my web server (for my home automation to speak out the text). However, I'd like to suppress some app's notifications.Tasker must have the name as the trigger can be restricted to a single app. Therefore it would be useful to have the name of the app in a variable. I could not find any variable for this. Am I just too blind or is there no variable for the notification-app-name?

John Doe

unread,
Apr 6, 2015, 5:44:29 AM4/6/15
to tas...@googlegroups.com
There is no variable. You could use Notification Listener %nlapp to know the name of the app.

Rich D

unread,
Apr 6, 2015, 5:48:23 AM4/6/15
to Tasker Google Groups Post


Therefore it would be useful to have the name of the app in a variable.

I think that is in the array element %evtprm(1)

Try checking all of the elements %evtprm(:)

Peter Stark

unread,
Apr 6, 2015, 1:11:30 PM4/6/15
to tas...@googlegroups.com
Thanks. %evtprpm(1) worked. However, I had to move it into a new variable first before using it in  HTTP Get.

So, a notifications are also an event.

See: http://tasker.dinglisch.net/userguide/en/eventcontext.html

:-)
Reply all
Reply to author
Forward
0 new messages