> I currently have a task with a Profile Status action that enables/disables a profile based on the day (if %DAYW matches Monday/Wednesday/Thursday). Anyway to specify a time range in addition to these days?
Nested If actions
1. If %DAYW matches Monday/Wednesday ect...
2. If %TIME > 5
3. If %TIME <11.30
4. Profile status ; toggle
5. End if
6. End if
7. End if
FYI...
All of these are available in the context list and you can have up to 3 states and 1 event for a single profile.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/uYsMYtzKjw8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
> How do these nested IFs/END IFs work? Do they act like a stop or will actions listed below them still get executed?
> 1. If %DAYW matches Monday/Wednesday ect...
> 2. If %TIME > 5
> 3. If %TIME <11.30
> 4. Profile status ; toggle
> 5. End if
> 6. End if
> 7. End if
8. Rest of task
If action 1 is not true it will go to action 7
If action 2 is no true it will goto action 6 then ignore 7 and goto 8
If action 3 is not true it will go to action 5 then ignore 6 and 7 and goto 8
--
> It's almost certainly better to add these restrictions to the profile you're trying to turn on/off itself (as additional contexts), instead of controlling it this way.
+1 as mentioned before.... :)
Ok that enables the profile during the specified days/time range but how do I get it to disable the profile again when outside of the range?
You would use a 'else if'
These are all explained in the user guide .. menu / info / user guide / flow control..