Meaning of notification text contain

Nolan

Member
Hi

if i get a notification from an app i can create a macro depending on te text that notification contains.

  1. "contain" does that mean that if any of the words in the notification is found the condition is met?

  2. What is the difference between the options:
    - Any
    - Matches
    - Excludes
    - Contains

  3. If i would like to have ANY of say 2 words (either word A or B) which are present in a notification, of a given app, to activate an action, how can i achieve that?
Thanks
Nolan
 

Jacob L

Moderator (Lawsonator)
ANY is everything so any notification and does not matter what the words are.
MATCHES is an exact match.
EXCLUDES is if there is a word you want to filter out so it trigger as long as the word is not in the notifation
CONTINS means it must have the word or sentence in.
 
Last edited:

Dm114

Well-known member
Hi

if i get a notification from an app i can create a macro depending on te text that notification contains.

  1. "contain" does that mean that if any of the words in the notification is found the condition is met?

  2. What is the difference between the options:
    - Any
    - Matches
    - Excludes
    - Contains

  3. If i would like to have ANY of say 2 words (either word A or B) which are present in a notification, of a given app, to activate an action, how can i achieve that?
Thanks
Nolan
To answer point 3, tick 'Enable regular expression matching' and the words or expressions by the '|' symbol: wordA|wordB|wordC
 

Dm114

Well-known member
ANY is everything so any notification and does not matter what the words are.
MATCHES is an exact match.
EXCLUDES is if there is a word you want to filter out so it trigger as long as the word is not in the notifation
CONTINS means it can have the word or sentence in.
For CONTAINS option I'd rather say 'it must have...' 😉
 

shamsevan

New member
Screenshot_20211030-012844.jpgScreenshot_20211030-013231.jpgScreenshot_20211030-013341.jpghi. Please help. I have set a notification constrain for wait action and back action.. The notification is coming but it is reading the macro name only. And it is not doing the action. Can anybody please help????
 
Top