Open task with condition

Discussion in 'Tasker' started by steven837, Dec 8, 2018.

  1. steven837

    steven837 New Member

    Joined:
    Dec 8, 2018
    Messages:
    4
    Likes Received:
    0
    I'm new with tasker and I want to make a task to automate things with condition. I already have AutoInput to begin with, but im stock with giving if/else condition and making the variables.

    Here is the task that I want to make:

    1st goto url “somesite/pet_wars?ac=view_monster&mid=80”
    2nd click “attack” and then click “click here”.
    3rd if >> if word “attack” is found click attack.
    If not found click refresh. Continue clicking refresh with a 5 second delay until attack appear.
    Continue doing until word “Pet Won” or “Pet Lose” appear
    4th if>> if “pet Won” appear click Play Again. And repeat doing the 3rd
    If >> if “pet lose” appear goto url “ somesite/pet_wars?ac=use_item&item_id=9”
    Click “yes”
    5th repeat whole process
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    hi there. What exactly are you not able to do right now that you wanted to with that setup?
     
  3. steven837

    steven837 New Member

    Joined:
    Dec 8, 2018
    Messages:
    4
    Likes Received:
    0
    yep i want to make that setup. but i dont know how to do the if else condition to make it work like that
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh I see. :) Did you try using AutoInput UI Query to see what's written in the other app?
     
  5. steven837

    steven837 New Member

    Joined:
    Dec 8, 2018
    Messages:
    4
    Likes Received:
    0
    I did try AutoInput UI Query, and pput the word Attack! in the text feild so that it will just wait until the word attack! appears since the ppage is auto refresh every 1minute, but it is against the purpose of automation waiting time is so long. And it doesnt solve the other scenario in which the word Pet win or Pet lose appears
     

Share This Page