Tasker performs arbitrary Tasks (sets of basic actions) based on arbitrary Contexts (application, time, date, location, event, voice command, gesture, widget press/timer expiry).
Contexts are ordered into groups and connected to tasks in units called Profiles. When all of the contexts in a Profile are active, its Enter task runs. When it's no longer active, its Exit task runs.
Contexts: (Application) Browser (Time) 9:00 - 17:00 Enter Task: (Setting) WiFi On Flash: "Happy Browsing" Exit Task: Flash "Goodbye"
When the application Browser is started betweeen 9:00 and 17:00 WiFi is automatically enabled and "Happy Browsing" flashes up briefly.
When Browser is no longer running, or the time is no longer between 9:00 and 17:00, "Goodbye" flashes up briefly and WiFI is restored to its previous setting (because Wifi is a settings action, which are automatically restored).