AutoInput How Do I Do This? Input Tap?

Discussion in 'AutoApps' started by Evil Genius, Mar 5, 2015.

  1. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    How do I get Tasker to input the numbers accordingly? Do I input tap each individual number and have a task for each one or is there a better way?

    [​IMG]

    Getting individual numbers is easy with input tap, but getting into 3 or 4 digit numbers is another story. I wanna be able to say 1024, or 551 etc. Not 1-0-2-4 or 5-5-1.
     
  2. Jonatan

    Jonatan Member

    Joined:
    Feb 27, 2015
    Messages:
    59
    Likes Received:
    3
    The only better way I could think of would be with AutoInput if the App you're trying to control is compatible. Then you could tell AutoInput to click on a specific number.
     
  3. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    So you are saying I would have to have an input for every single number? Lets say I needed to have thousands of possible numbers that may be input, this means I would have to have every single number 1 - 2394082940 manually programmed individually? That doesn't sound right nor very efficient. Hmmmm.
     
  4. Jonatan

    Jonatan Member

    Joined:
    Feb 27, 2015
    Messages:
    59
    Likes Received:
    3
    No. I'm saying that in your task you need to separate the numbers of for example 2956 and then AutoInput Action on after another. So first of you have separate 2 put that into AutoInput. Then you take the 9 and so on and so on. This would in the end be 1 Task.
     
  5. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    You lost me there. I do have AutoInput but I still do not understand. I was considering programming input tap on each number but that would force me to say each number individually when I wanna use it. For example, if I wanted to type five hundred fifty one, I couldn't just say 551, I would have to tell tasker individually 5-5-1. If I wanted 37 I wanna be able to say thirty seven instead of 3-7. I'm sure there is a way to do this. I am not a total tasker noob but for autoinput I am.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    create a test task like this and see if it works:
    - set %numbers to 12345
    - split %numbers so it becomes an array (1,2,3,4,5)
    - do a For Loop on %numbers, setting %number to each item
    - in the for loop use an AutoInput Action where the text is %number
    - end for loop

    This should work :)
     
    Evil Genius likes this.
  7. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    I am happy that this is do-able, however your explanation doesn't tell me how to do this.

    When you said...
    -set %numbers to 12345

    Okay, where do I do that? If you are saying to use AutoInput as a task which do i use? Action? Query? What? Then, where do I set the %numbers to 12345?

    When you said...
    -Split %numbers so it becomes an array (1,2,3,4,5)
    -do a For Loop on %numbers, setting %number to each of them

    This is the same problem, where do I do this?

    I really appreciate your assistance but for a AutoInput newbie like myself your response made zero sense.
     
  8. Rojax

    Rojax New Member

    Joined:
    Feb 11, 2015
    Messages:
    8
    Likes Received:
    2
    In tasker use the action "Set variable" and "variable split"
     
    Evil Genius likes this.
  9. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Now this is beginning to come together for me thank you. Only thing I didn't understand was the For loop @jaoamgdc spoke of.
     
  10. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Does anyone know a good tutorial on set variable, I did a search and couldn't find one.
     
  11. Jonatan

    Jonatan Member

    Joined:
    Feb 27, 2015
    Messages:
    59
    Likes Received:
    3
    Why do you need a tutorial for that?
    It's just your variable at the top and under that what the Variable should contain.
    [​IMG]
     
    Last edited: Mar 8, 2015
  12. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Thanks for the reply. I guess I wasn't clear, I was talking about the overall process... not necessarily the variable set.
     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Turns it you needed to use the variable search and replace action instead of the split action :)
    Here, I've created this project so you can easily import it. Hope this helps!
     
  14. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Thank you so much, you have no idea how long I have waited to be able to do this. When I get some time, I am gonna make a cool YouTube video showing what I plan on using this for.
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Great! :D Please let me know when you do so I can share it with everyone!
     
  16. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Hmmmm, ran into an issue...

     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    Does "Tapping 7" ever come up? What happens if you manually go back to the numbers screen?
     
  18. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    Depending on what I say it says TAPPING... whatever.

    If I manually go to the numbers screen it does the same thing.
     
  19. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    802
    No, I meant with that example you said... does only "Tapping 6" come up?
    And I meant after it has backed out of the numbers screen, if you go back in manually, does it start typing the numbers?

    By the way, you don't need to wait 18 seconds in your Task for the app to load. YOu can simply set the timeout in the AutoInput action to something higher and it'll do the waiting for you :) But leave that for when this is actually working.
     
  20. Evil Genius

    Evil Genius Member

    Joined:
    Mar 5, 2015
    Messages:
    112
    Likes Received:
    9
    I see. For a test I went into tap numbers profile and waited 10 seconds before doing anything. This gave me time to manually go back to the numbers screen.

    When I tested it out with channel 713, after 10 seconds it quickly typed in 7,1,3 and on the bottom it did say tapping 7 tapping 1 tapping 3 and it registered on the TV to channel 713.

    It appears to be working however the screen going back away from the numbers screen seems to be the only issue left. Thanks in advance for all your help with this.
     
: Input tap

Share This Page