AutoInput How to make autoinput work?

Discussion in 'AutoApps' started by mcdonolds, Oct 8, 2015.

  1. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    Hi. I think this app can do exactly what i want but i cannot make it work somehow. What I want to do is to click button. I created a task to launch app, wait for 2 sec, another task to create action plugin (autoinput) and i choose easy setup with the action click. i run the tasks, the app (e.g. calculator) comes out but NO CLICK happened at all. Tried text, tried tag tried coordinates.

    Given that i have started the trial and enable the accessibility for autoinput and tasker. Do you have any clue on that? my device is galaxy tab s.


    James
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    What calculator app are you using exactly? The samsung one? Have you tried doing the same with the YouTube app for example? Like opening the app and clicking the subscriptions button?
     
  3. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    calc is the android one. Just tried youtube, it doesn't work either. nothing happened at all. i created task > plugin > autoinput > action. i run the task with a green light on the left. then i switch to youtube. nothing comes out. Any clue?
     
  4. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    android ver is 4.4.2
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you try with this task please?
    It should simply open youtube and click on the middle tab (subscriptions)

    Code (Text):
    Test AutoInput (144)
        A1: Launch App [ App:YouTube Data: Exclude From Recent Apps:On Always Start New Copy:On ]
        A2: AutoInput Action [ Configuration:Type: Text
    Value: Subscriptions
    Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
        A3: Flash [ Text:Done Long:Off ]
     
     
  6. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    sorry, but where should i enter these codes?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    That's just the description of a Tasker task :)
    1. The first action launches the youtube app
    2. Then there's an AutoInput action to click the text "Subscriptions"
    3. Then there's a flash with the text "Done"
    Hope this clarifies it.
     
  8. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    youtube launched but there is nothing happen on youtube. any idea?
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Does the "Done" flash show up?
     
  10. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    yeah. i saw the done text. but youtube stays in the home tab, not the subscription tab. the click doesn't seem to be happened.
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    hmmm and did the "Done" appear right away? Or just after 20 seconds or so?
     
  12. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    right away!
     
  13. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    so, you mean it skips the autoinput?
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  15. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    Test (2)
    A1: Launch App [ App:YouTube Data: Exclude From Recent Apps:Off ]
    A2: Flash [ Text:Done Long:Off ]
    A3: AutoInput Action [ Configuration:Type: Text
    Value: Subscriptions
    Action : Click Package:com.joaomgcd.autoinput Name:AutoInput Action Timeout (Seconds):20 ]
     
  16. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please move the "done" flash to after the AutoInput action? Thanks
     
  17. mcdonolds

    mcdonolds New Member

    Joined:
    Oct 7, 2015
    Messages:
    10
    Likes Received:
    0
    Tried. The result is the same. It seems that the click action of autoinput never happen somehow.
     
    Last edited: Oct 14, 2015
  18. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
  19. Slim Jim 3000

    Slim Jim 3000 New Member

    Joined:
    Jan 25, 2018
    Messages:
    3
    Likes Received:
    0
    I'm having similar issues trying to get AutoInput to execute a command for the Poweramp music player. I have a large playlist in which I want AI to delete the currently playing song after a certain amount of time has passed. I have the timers set and working, I have the list controls configured, Poweramp is running and in play - all I need to do is perform the deletion. Yet I simply cannot get AI to obey instructions. I followed the easy format, I set the options to seek out the "delete" word, I even toggled the box to tell the action it was part of a Tasker task. Yet when called upon, nothing. The action just sits idle and the task stops dead.

    What am I doing wrong here?
     
  20. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You have to not select the option that it's a Tasker action, otherwise it'll try to click stuff in Tasker :)

    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
: autoinput

Share This Page