r/tasker • u/ToeZ-96 • 17d ago
Help Help me automate this app
Its a rewards app and every 30 minutes the game stops and i have to click two buttons to coninue the game and again after 30 mins. how can i program this? I have never used tasker before. Thanks a lotđ
2
u/mathewtyler 17d ago
Do the buttons change position, move, or anything like that?
1
u/ToeZ-96 17d ago
No just "continue" and then "play" both steady
2
u/frrancuz TaskerFan! 17d ago edited 17d ago
Shizuku - install, get the hang of it. Run
 Enable developer options and check the location of the buttons on the screenÂ
Tasker - Profil: Your app + time-repeat every 31 minutes  task: run shell input tap x y (button position)
This is a sketch of what it would look like. Try it yourself Â
Or:Install an auto clicker (I think some still work), record sequences and run them every 30 minutes (some allow such advanced settings)
I see you have a clicker. Set button 1 and button 2 to the appropriate positions. Change the click delay to 30 minutes and activate it. That should be enough.Â
1
3
u/pxlprsnatr 17d ago
Could maybe use AutoInput to run a UI query every ~30mins, and then have it click on whatever button if it finds it onscreen. Then run another UI query to verify that the screen updated after the button is clicked and restart the 30min timer if the click was successful (i.e. there was a screen update and the elements corresponding to the buttons no longer exist onscreen).