Using app notifications as variables

Queerio

New member
Hey there,

I wanted to save the push-notifications of my DHL and Amazon Apps in the dictionary variable dhl-log. Unfortunately it´s only working for the Title, not the notification's text.

I used the following commands for key and value:

Code:
 dhl-log[{dayofmonth}.{month_digit}.{year} {hour}:{minute}; {not_app_name}]

 (Titel): {not_title} (Text): {notification} (Sub): {not_sub_text} (Ticker): {not_ticker}

What am I doing wrong?

Thanks for your help!

Queerio




Thats what the notification looks like:
photo_2024-02-24_17-39-01.jpg

My macro:
photo_2024-02-24_17-39-06.jpg

Setting the variables:
photo_2024-02-24_17-41-02.jpg
Screenshot_2024_02_24_17_47_56_14_2e840d222d67ef3caca3a1c67d71d48f.jpg

That´s what´s saved from the notification above:
photo_2024-02-24_17-41-12.jpg
 

Attachments

  • photo_2024-02-24_17-41-12.jpg
    photo_2024-02-24_17-41-12.jpg
    44.8 KB · Views: 5

Queerio

New member
One addition: as you see in the log file it works fine with the Amazon app, just the DHL App is the problem.

IMG_20240224_213050.jpg
 

MacroDroidDev

Administrator
Staff member
Just a quick follow up for anyone who stumbles here.....

In this case the issue happened because the DHL app stored text in the the big text entry so the user was able to resolve the problem by checking this entry as well.
 
Top