AutoInput Task for Android 9 and higher to swipe up or right on a recent App view

Discussion in 'AutoApps' started by click-click, Apr 12, 2020.

  1. click-click

    click-click New Member

    Joined:
    Apr 3, 2020
    Messages:
    4
    Likes Received:
    0
    Does anyone have a task or know how to swipe up or swipe right on a recent App view?

    I tried this with the location pointer on and I see the line moving for the swipe, but the Reduced App Screen doesn't swipe. If an app is active, swiping the screen is not a problem. Solutions and suggestions appreciated.

    Edit: I managed to get this working
    With a lot of fiddling, I finally have a task that will Clear all recent Apps with Android 9/10. If anyone has some improvements, let me know.

    Code (Text):

    Clear all (20)
    A1: AutoInput Global Action [ Configuration:Action: Recent Apps Timeout (Seconds):20 ]

    (GET TEXT)
    A2: AutoInput UI Query [ Configuration:Only Visible: true Timeout (Seconds):20 ]
    A3: AutoInput Global Action [ Configuration:Action: Back Timeout (Seconds):20 ] If [ %aitext(>) ~ No recent items ]
    A4: Stop [ With Error:Off Task: ] If [ %aitext(>) ~ No recent items ]

    SWIPE >
    A5: AutoInput Gestures [ Configuration:Gesture Type: Swipe
    Start Point: 20,800
    End Point: 540,800
    Duration: 500 Timeout (Seconds):60 ]

    (FOCUS)
    A6: AutoInput Action [ Configuration:Type: Text
    Value: Clear all
    Action : Focus Timeout (Seconds):23 ]
    A7: Wait [ MS:200 Seconds:0 Minutes:0 Hours:0 Days:0 ]

    (CLICK)
    A8: AutoInput Action [ Configuration:Type: Text
    Value: Clear all
    Action : Click Timeout (Seconds):23 ]
     
     
    Last edited: Apr 14, 2020
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Glad you got it! :)
     
: swipe, android 9

Share This Page