• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Scrolling screen for shell input ??

chazey2

Member
Hi to explain further I'm trying to make a simple script that after a profile has triggered a task of opening an app I want to press a button to enable a feature of the app.
I can using developer options- pointer location-on, map exactly the button press using 'run shell' with command- 'input tap and the x/y value . But the button rests halfway down the app 'opening' screen and therefore my x/y value presses nothing when testing the task.
I need my task to open the app - the screen to scroll down - then my x/y value button press to happen.

How to scroll the screen before the x/y button press? Thanks!
 
"input tap x y" you said you are familiar with. What I posted will emulate a swipe from the first set of coordinates to the second.
 
Thanks mate it has dawned lol thanks. Instead of 'input tap' x/y I use 'Input swipe' x/y to scroll then 'input tap' x/y to press.
 
Back
Top Bottom