AutoInput Insert Numbers For PIN Lock?

Discussion in 'AutoApps' started by TransformesIntoAGuitar, Jan 3, 2017.

  1. TransformesIntoAGuitar

    TransformesIntoAGuitar New Member

    Joined:
    Apr 25, 2016
    Messages:
    15
    Likes Received:
    0
    I'm trying to automate toggling on/off either pattern lock or PIN lock.

    I can't use Record Input as it makes AI stop. I can't use Gestures because I'm on 6.0.1. I can't make AI click on the numbers, it says it's not allowed.

    I'd like to put the PIN in automatically but I can't seem to do it. Using the Write function just does nothing. I've a feeling I need to get the idea of the field I want to write to but don't know how.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    Have you tried having the AutoInput action click a text with "1" for example and see if that clicks the number 1?
     
  3. TransformesIntoAGuitar

    TransformesIntoAGuitar New Member

    Joined:
    Apr 25, 2016
    Messages:
    15
    Likes Received:
    0
    Do you mean using 'com.android.keyguard:id/key1'? If so, yes I did. Nothing happened.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    No, I mean just trying with the text "1" in the AutoInput Action instead of using an ID
     
  5. TransformesIntoAGuitar

    TransformesIntoAGuitar New Member

    Joined:
    Apr 25, 2016
    Messages:
    15
    Likes Received:
    0
    I've tried:
    Action > Write
    Field > Type: Text / Id / Focus / Point (I've tried all these)
    Text to Write: 1
    But nothing happens. Is this what you mean?
     
  6. TransformesIntoAGuitar

    TransformesIntoAGuitar New Member

    Joined:
    Apr 25, 2016
    Messages:
    15
    Likes Received:
    0
    SUCCESS! I set a variable with my PIN and used 'paste'.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    Nice :D Glad you got it!
     
  8. Avi

    Avi New Member

    Joined:
    Dec 26, 2016
    Messages:
    3
    Likes Received:
    0
    Can you please details the steps? Thank you.
     
: Auto write

Share This Page