How can I use OR operator in this script? I have tried various things but nothing seems to work.
http://automagic4android.com/flow.php?i ... cd82dbedc8
Download manager notification
Moderator: Martin
Download manager notification
Last edited by MURTUMA on 17 Feb 2014 21:48, edited 2 times in total.
Re: help with expression?
The expression looks good to me. Please add a condition Debug Dialog in the flow to see what title contains when the flow is executed automatically.
You can also initialize the variable title in the condition right before the condition is evaluated to make some experiments with the script.
For example change the script in the condition to this script and select Menu->Execute:
You can also initialize the variable title in the condition right before the condition is evaluated to make some experiments with the script.
For example change the script in the condition to this script and select Menu->Execute:
Code: Select all
title = "abc Finish xyz";
contains(title, "Finish") OR contains(title, "complete")
Re: help with expression?
Ok, the problem lies somewhere else then. I noticed that the notification contains only text and not title. It reads "(file name) Download complete." I've tried the the word "complete" with and without period. Neither works. Notification is from download manager sysstate app.
EDIT: Edited the topic to more suitable to the new problem, as the first one wasn't actually a problem atall.
EDIT: Edited the topic to more suitable to the new problem, as the first one wasn't actually a problem atall.