For example like this:
1) rework UncleMike's profiles a bit and instead strings, use numeric values when setting %myPHONE, i.e.
when idle, set to 0,
when ringing, set to = 1,
when offhook, set to = 2
2) create a second profile like this:
Context: Bluetooth Connected (select your device)
enter Task:
Variable Set %noBT = 0
exit Task:
Then, your announcemt profile could be like this:
Context: every hour
Context: Variable Value %noBT + %myPHONE > 0
Profile will not become active if your phone is idle and you are connected to your bluetooth headset (0 + 0 is not > 0), but will become active in all other situations.
BR,
A.
On Monday, August 6, 2012 6:24:09 PM UTC+2, Mike wrote:
I have this in use but I'd like to be able to process both phone state as this does and bluetooth connection before carrying out an action. For example, if I do an hourly announcement, I don't want it to announce over bluetooth unless I'm on the phone as it cuts off the beginning of the announcement. Not sure how to nest decisions in tasker as I'm new to the program.