简体   繁体   English

Android Tasker App高级输入Shell命令

[英]Android Tasker App Advance Input Shell command

I have this shell command in android input tap 653 100 using Tasker app to simulate a tap command. 我使用Tasker应用程序在android input tap 653 100有此shell命令来模拟tap命令。 This one is working but how do i execute the command for say 50 times or 100 times? 这个正在工作,但是我如何执行50次或100次命令? I know I can add more task in Tasker App but Thats a lot of work. 我知道我可以在Tasker App中添加更多任务,但这需要大量工作。 So if you know anything or any command that i can input like for example input tap 653 100 -100 or input tap 653 100 -50 which is -100 and -50 are for how many times a command should execute or how do i loop and execute a task in Tasker app . 因此,如果您知道我可以输入的任何内容或任何命令,例如input tap 653 100 -100input tap 653 100 -50即-100和-50),则该命令应执行多少次,或者我如何循环和执行在Tasker app执行任务。 Thanks 谢谢

for q in `seq 1 50`; do input tap 653 100 ; done

应该做到这一点...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM