AutoInput autoinput query if statement

Discussion in 'AutoApps' started by Napoleon13, Jan 6, 2019.

  1. Napoleon13

    Napoleon13 New Member

    Joined:
    Dec 13, 2018
    Messages:
    2
    Likes Received:
    0
    Hi,
    I would like to monitor the screen content and do different things based on the content.
    For example I might get one of those 2 contents:
    screen content 1 : "Your command was successful."
    screen content 2: "Server error. Please retry."
    Ideally I'd like to say if screen contains xxx then do task 1,2,3 else if screen contains yyyy then do task 4,5,6. ANd then the app would be monitoring the screen for either xxx or yyy and take the appropriate action.

    How can I accomplish this using autoinput query or any other tasker/autoapps tools?

    Thanks
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Use the Query and then use the Tasker If action applied to the query result variables :)
     
  3. Napoleon13

    Napoleon13 New Member

    Joined:
    Dec 13, 2018
    Messages:
    2
    Likes Received:
    0
    that simple :) . I will try that. Thanks
     

Share This Page