trigger if amount is more than...

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
abuHaafidz
Posts: 7
Joined: 31 Mar 2014 06:05

trigger if amount is more than...

Post by abuHaafidz » 15 Jan 2021 06:36

Trying to get a trigger working. eg. if notification has text with any amount above $100, then notification sound is played.

Any help is appreciated!

abuHaafidz
Posts: 7
Joined: 31 Mar 2014 06:05

Re: trigger if amount is more than...

Post by abuHaafidz » 16 Jan 2021 15:05

tried using the following codes on Condition > Notification Statusbar...

1.

Code: Select all

/(RM)\\d{2}+/gm
2.

Code: Select all

/(RM)\\d{2}+
For the e.g. notification text "Immediate RM17 Hurry up!"

But all of them ended with false. I'm pretty sure the code works as I tried it on regex101.com. Any help is appreciated!

Post Reply