Tasker profiles

Soldato
Joined
5 Jul 2003
Posts
16,206
Location
Atlanta, USA
Evening all.
Does anyone know of a way to do multiple conditions for a task in tasker?
For example, "if its 9-5 and m-f, do x".
At the moment I can't see a way to have more than one initial variable...?

Thanks in advance all
 
You'll need to set up variables.

For example the first state would be a location, which sets the %VARIABLE to On/Off/1/0 or whatever you want.

The second state would be a time, which sets %VARIABLE2 to On/Off/1/0 etc.

Then if the task was setting a volume for those two conditions, it would be a third state.

If %VARIABLE1 = On and %VARIABLE2 = On, Then Silent Mode On, else Silent Mode Off.

Something like that, don't have it installed at the moment :p

edit: Corrected
 
Last edited:
Unless I'm misunderstanding you, that's not what I'm getting at.
I'm fine putting multiple actions in. Its the INITIAL variable. That says "if phone is face down". I can't find a way to say "IF phone is face down AND the phone is receiving a call THEN perform task x"
 
Just long press the original context (e.g. Face down) and click 'add' (and add the receiving call argument). The task will only run if all the context arguments are met

Edit, like this

C7YoH.png
 
Last edited:
Perfect!
Just what I was looking to do.

Now to work out why tasker canes the battery when i use any profiles with gps in it. Iol

Any way to do 'or' with tasker?
So cell tower X or Y or Z?
 
Last edited:
Now to work out why tasker canes the battery when i use any profiles with gps in it. Iol

GPS in any app will destroy your battery. Take a look at the Tasker FAQ about 'location without tears'. I'd just set up locations based on wifi SSIDs :)
 
Back
Top Bottom