I have a question, if Automagic can recognize notification form "A" person from contact list ? If the notification is from whatsapp, for example, and from person A, then do *something* (flow).
Thx.
Notification on Statusbar Displayed/Selected
Moderator: Martin
Re: Notification on Statusbar Displayed/Selected
Trigger: Notification on Stausbar Displayed > Package Name: (select WathsApp)
Expression: contains(title, "A")
if True... Action...
or take a look at this: http://automagic4android.com/forum/view ... egex#p4686
Expression: contains(title, "A")
if True... Action...
or take a look at this: http://automagic4android.com/forum/view ... egex#p4686
Re: Notification on Statusbar Displayed/Selected
Thx, it's working 
Where can I find instructions (syntax) to variables ? There is a some kind of list ?
here: contains (title, "A") - contains, and others ?

Where can I find instructions (syntax) to variables ? There is a some kind of list ?
here: contains (title, "A") - contains, and others ?
Re: Notification on Statusbar Displayed/Selected
Maybe this? http://automagic4android.com/en/help/components-actions - look for functions
Re: Notification on Statusbar Displayed/Selected
That's ok, I have seen that, but I am searching for some kind of list with syntax.
Thx.
Thx.
Re: Notification on Statusbar Displayed/Selected
The scripting language in general is documented in action Script (huge online page) or when you press the [?]-icon in Automagic while editing an action Script. Scroll down to section Functions for a list of all functions with a short description of each function.
The same information is also available when you press button Function in an action Script or condition Expression.
Regards,
Martin
The same information is also available when you press button Function in an action Script or condition Expression.
Regards,
Martin
Re: Notification on Statusbar Displayed/Selected
Ok, Martin, then tell me please, where can I find our example: Expression: contains(title, "A") in your action Script or condition Expression ? I can't see it.
Thx.
Thx.
Re: Notification on Statusbar Displayed/Selected
There is a general description of the function contains in action script: http://automagic4android.com/en/help/co ... ion_script
The documentation does not contain examples for every function, it just contains a description of the syntax in general.
Regards,
Martin
The documentation does not contain examples for every function, it just contains a description of the syntax in general.
Regards,
Martin