AutoInput This action works very slow

Discussion in 'AutoApps' started by Thahim, Mar 22, 2015.

  1. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    I have this task which used to work fine. I think i made changes in continue thing and now it starts after like 10 to 20 seconds of executing it.
    Kindly tell me whats the problem with this?

    Code (Text):
    Waptest (288)
            A1: AutoInput UI Query [ Configuration:Timeout: 1
    Variables: nprofile() Package:com.joaomgcd.autoinput Name:AutoInput UI Query Timeout (Seconds):20 ]
            A2: Variable Split [ Name:%nprofile(4) Splitter:, Delete Base:Off ]
            A3: Variable Set [ Name:%name To:%nprofile41 Do Maths:Off Append:Off ]
            A4: AutoInput Action [ Configuration:Type: Id
    Value: com.waplog.social:id/img_message
    Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
            A5: Variable Randomize [ Name:%waprnd Min:1 Max:27 ]
            A6: Variable Set [ Name:%wapmag To:if I said you have a beautiful body, would you give me the Friends and Family discount %name?
    Do Maths:Off Append:Off ] If [ %waprnd ~ 1 ]
            A7: Variable Set [ Name:%wapmag To:Hi %name. I thought we should at least have a conversation before we get married. Do Maths:Off Append:Off ] If [ %waprnd ~ 2 ]
            A8: Variable Set [ Name:%wapmag To:%name;  You must be an angel... because I have an erection. Do Maths:Off Append:Off ] If [ %waprnd ~ 3 ]
            A9: Variable Set [ Name:%wapmag To:If I told you your body is beautiful would you hold it against me %name? Do Maths:Off Append:Off ] If [ %waprnd eq 4 ]
            A10: Variable Set [ Name:%wapmag To:Ya know, you look really hot! You must be real reason for global warming %name? Do Maths:Off Append:Off ] If [ %waprnd eq 5 ]
            A11: Variable Set [ Name:%wapmag To:You know, I would die happy if I saw you naked just once %name! Do Maths:Off Append:Off ] If [ %waprnd eq 6 ]
            A12: Variable Set [ Name:%wapmag To:%name you make me melt like hot fudge on a sundae. Do Maths:Off Append:Off ] If [ %waprnd eq 7 ]
            A13: Variable Set [ Name:%wapmag To:%name Babe! you look so fine I could drink your bath water! Do Maths:Off Append:Off ] If [ %waprnd eq 8 ]
            A14: Variable Set [ Name:%wapmag To:Are you a magician %name? Because whenever I look at you, everyone else disappears!
    Do Maths:Off Append:Off ] If [ %waprnd eq 9 ]
            A15: Variable Set [ Name:%wapmag To:Is your daddy a Baker? Because you've got some nice buns %name!
    Do Maths:Off Append:Off ] If [ %waprnd eq 10 ]
            A16: Variable Set [ Name:%wapmag To:I don't know if you know this %name, but you look a lot like my next girlfriend.
    Do Maths:Off Append:Off ] If [ %waprnd eq 11 ]
            A17: Variable Set [ Name:%wapmag To:How about you wrap your legs around my head %name, so I can wear you like the crown you are?
    Do Maths:Off Append:Off ] If [ %waprnd eq 12 ]
            A18: Variable Set [ Name:%wapmag To:I don't have a girlfriend %name :(, but I do know a woman who would be mad at me for saying that.
    Do Maths:Off Append:Off ] If [ %waprnd eq 13 ]
            A19: Variable Set [ Name:%wapmag To:%name, are you busy tonight at 2 a.m.?
    Do Maths:Off Append:Off ] If [ %waprnd eq 14 ]
            A20: Variable Set [ Name:%wapmag To:%name can you touch me so i can tell my friend's ive been touched by an angel
    Do Maths:Off Append:Off ] If [ %waprnd eq 15 ]
            A21: Variable Set [ Name:%wapmag To:Did it hurt? When you fell out of heaven %name?
    Do Maths:Off Append:Off ] If [ %waprnd eq 16 ]
            A22: Variable Set [ Name:%wapmag To:Did u just come out of the oven, cuz u r so hot %name!
    Do Maths:Off Append:Off ] If [ %waprnd eq 17 ]
            A23: Variable Set [ Name:%wapmag To:%name I'm new in town. Could you give me directions to your apartment?
    Do Maths:Off Append:Off ] If [ %waprnd eq 18 ]
            A24: Variable Set [ Name:%wapmag To:Your legs must be tired %name, because you've been running through my mind all night
    Do Maths:Off Append:Off ] If [ %waprnd eq 19 ]
            A25: Variable Set [ Name:%wapmag To:Baby I'm no Fred Flintstone, but I can make your bedrock %name.
    Do Maths:Off Append:Off ] If [ %waprnd eq 20 ]
            A26: Variable Set [ Name:%wapmag To:Excuse me %name, I think you have something in your eye.
    Do Maths:Off Append:Off ] If [ %waprnd eq 21 ]
            A27: Variable Set [ Name:%wapmag To:Excuse me %name, I just thought you should know that you have a really nice... Do Maths:Off Append:Off ] If [ %waprnd eq 22 ]
            A28: Variable Set [ Name:%wapmag To:Wow, I really love what you're wearing. What is that %name?
    Do Maths:Off Append:Off ] If [ %waprnd eq 23 ]
            A29: Variable Set [ Name:%wapmag To:Do you believe in love at first sight %name, or should I walk by again?
    Do Maths:Off Append:Off ] If [ %waprnd eq 24 ]
            A30: Variable Set [ Name:%wapmag To:Know what's on the menu? Me-n-u %name.
    Do Maths:Off Append:Off ] If [ %waprnd eq 25 ]
            A31: Variable Set [ Name:%wapmag To:You're so beautiful you made me forget my pick up line %name. Do Maths:Off Append:Off ] If [ %waprnd eq 26 ]
            A32: Variable Set [ Name:%wapmag To:%name, there are 20 angels in the world 11 are playing, 8 are sleeping and 1 of them is reading my message here. Do Maths:Off Append:Off ] If [ %waprnd eq 27 ]
            A33: Set Clipboard [ Text:%wapmag Add:Off ]
            A34: Variable Clear [ Name:%name Pattern Matching:Off ]
            A35: AutoInput Action [ Configuration:Type: Id
    Value: com.waplog.social:id/txt_message
    Action : Paste Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
            A36: AutoInput Action [ Configuration:Type: Id
    Value: com.waplog.social:id/btn_send
    Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
            A37: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
            A38: Variable Clear [ Name:%name Pattern Matching:Off ]
            A39: Button [ Button:Back Continue Task After Error:On ]
            A40: Button [ Button:Back Continue Task After Error:On ]
            A41: Flash [ Text:Message sent to:
    %name Long:Off ]
            A42: Stop [ With Error:Off Task:Waptest ]
     
    Last edited by a moderator: Mar 23, 2015
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    After it waits for 20 seconds does it do what it's supposed to do?
     
  3. Thahim

    Thahim Member

    Joined:
    Mar 1, 2015
    Messages:
    181
    Likes Received:
    5
    First it doesn't works at all other times it works after so long. It does everything but than doesn't press back button
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    To press the back button use the AutoInput Global Action in Tasker.
     

Share This Page