Hi
I think I am facing a new problem with trigger notification on Statusbar displayed.
Details: trigger notification on Statusbar displayed
App name= com.google.android.keep
Action:script :addElement(global_test_list,0,notification_text);
Issue = elements was adding to the list 2 to 3 times.
For example = notification_text is "Automagic is awesome". After saving the elements the list is as below.
global_test_list
0= Automagic is awesome
1= Automagic is awesome
2 = Automagic is awesome.
I have already tried script as Martin's "multiclipboard flow". But no use
Please solve this.
from record4
{Notification_text} error
Moderator: Martin
{Notification_text} error
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: {Notification_text} error
AFAIK, the behaviour happens because of notification grouping. It usually happens consecutively and so fast that you don't see it. You can catch only the first notification by changing the execution policy to skip and use sleep 1 seconds after the script. This will ensure it will only react to the first notification and skip the following consecutive ones.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.