Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Let's say I want to create a context where the SSID of a wifi connection is either 'ABC' or 'XYZ'. I can see where I am able to create 2 contexts, but it seems to enforce and logic between the two, so in order words I must be in proximity to both 'ABC' and 'XYZ'. I want the context to be either, not both.

share|improve this question

4 Answers 4

up vote 5 down vote accepted

Specify SSID in the WiFi Connected context to be ABC/XYZ This will activate the context if you connect to ABC or XYZ,

Reference: http://tasker.dinglisch.net/userguide/en/matching.html

share|improve this answer

Or probably you can use "Inverted" conditions to do an opposite task?, e.g.

If you want to run a task when WiFi is connected OR when the profile:A is inactive, you can instead setup contexts for "WiFi is disconnected" AND "Profile: A is active" both with "inverted" checkbox selected, and setup a task that does the opposite, if that is possible.

This basically works because of:


share|improve this answer
This answer nice because it's more general. That is, it works with context types other than "Wifi Connected". For example, I wanted to create a profile to put my phone in silent mode whenever it's either docked or connected to my Pebble watch. The easiest way to do this was to make a "not connected to Pebble and not docked" profile that disables silent mode on enter, and enables silent mode on exit. DeMorgan's Laws FTW. –  Laurence Gonsalves Apr 22 '13 at 19:40

You could make your action depend on a variable "%condition=true" and then make two different profiles:

  • profile a: set condition to "true"
  • profile b: set condition to "true"

your profile: if variable "condition"=true then ... and there goes your exit task

But would be nice if the authors would enhance tasker for that... :)

share|improve this answer

You will need to make a single profile for each context and pair it to the action individually.

share|improve this answer
Hm, this means I won't really be able to have an exit task? –  Zombies Mar 11 '11 at 17:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.