Compond profiles individual toggles

Discussion in 'App/Feature Suggestion' started by David L, Dec 29, 2015.

  1. David L

    David L New Member

    Joined:
    Dec 29, 2015
    Messages:
    2
    Likes Received:
    0
    Can you add individual on off toggles for each part of the compound conditions?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry, I'm not Tasker's developer. :) Please ask here
     
  3. JImB

    JImB New Member

    Joined:
    Dec 18, 2015
    Messages:
    6
    Likes Received:
    0
    Here is a suggestion. Warning, this is a concept. It has not been implemented and debugged.

    If you are monitoring a variable that has two states, like on/off, yes/no, 1/0 or T/F, then change all of the IF statements to use the Regex field ^[TF] as the comparison value. This will only compare the first character. It could be expanded to more characters, or to a set of words.

    Now you can add a Task to put the variable in Override mode. I suggest inserting the string 'OVRD' beforehand the value you need to override. Then put the new value before the first colon. The would be T'OVRD'F for true overriding false. I'm using the apostrophes to make it easier to distinguish the override from your status value. If you always change the last value and compare the first value, then you can even change the normal state while in the override condition.
     

Share This Page