I have Tasker speak texts to me if the phone is not in silent mode. (The task looks something like Say 'text from %SMSRN who said %SMSRB' if %SILENT ~ off
, and it's run by a profile activated when a text is received.)
This works well except when I'm on a phone call and the text is read out while I'm in conversation! Doesn't happen much but it's annoying. So what I want to do is have it read out texts when I'm not in silent mode AND when I'm not on a call.
I can set up a variable %INCALL
to equal 1 when the phone is off the hook (and clear the variable when the phone is idle).
Therefore, I want texts read (if %SILENT ~ off AND %INCALL != 1)
.
I can't see any way to do an AND
in Tasker logic. Is there an elegant way to handle this?