Simulate tap without root - Tasker Tips & Tricks

HI, how can I tab a button on the screen, withou root ?
Using Automate, for example, there is a option named "Interactions" that I configure the control type and its text content.
In Tasker, how can I do that?

The only ways using only tasker that I know to do that requires root. However, the AutoInput plugin can help. You authorize AutoInput with sufficient permissions through ADB so it doesn't require root.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

Start process within a program with Tasker profile

How do I create a profile in Tasker that will start a program and then a process within that program? I would like to start a program, then another program and then a process within that program such as: run PerkTv then run Repititouch and then load a profile/process then run it.
Unless the app has an intent you can call to initiate the "process", you probably need to script input touches. Either by:
1) using "run script actions" with the command "input tap X Y". The X Y are the coordinates of the tap location. Turn "pointer location" on in settings -> developer options to find them (requires root)
or
2) using the AutoInput plugin (doesn't require root but does require access to adb)
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

How to find the current network access state in Tasker?

I am trying to toggle my mobile data. Don't know how to get the current state of network access. Plus, phone not rooted either. Any way to accomplish what I want,?
It's not clear what you're looking for. Do you want to know if you are connected to wifi in order to turn off mobile data (which doesn't work on all phones/ROMs)?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I simply want an alternative to toggling mobile data via the notifications drawer. The network access task has 4 states. I am only interested in "allow all" and "deny all".
In order to toggle I need to know what state it's initially in... that's all.
It sounds like you are working from a tasker tutorial. Could you either post the task or link to it.
You're talking about the network access ACTION used inside a task ?
Then you are turning access to the network on/off for apps rather than toggling the mobile data on/off?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
I can't post links because of rep. Google "network access Tasker". You should get the Tasker guide page.
To simplify. Say I have set the network access to "deny all" via some task. In a different task, I want to read that setting. How do I do that?
Hope I have made clear atleast now...
The only link that comes up is Tasker's user manual page for network access. That action turns on/off network access to apps either some or all. It won't matter if you're on wifi or mobile data.
I think the only way you can know the state is to set a variable in the task when it toggles on, then, if that variable is set, toggle off. Part of that toggle-off process should be to clear the variable.
If what you are looking to do is toggle mobile data (without root), then AutoApps plug-ins for Tasker is a way to go. AutoTools has a secure plugin that *may* be able to just do a simple toggle for you. Else AutoInput can "script" the touch sequences to toggle the quick tile.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
The only link that comes up is Tasker's user manual page for network access. That action turns on/off network access to apps either some or all. It won't matter if you're on wifi or mobile data.
I think the only way you can know the state is to set a variable in the task when it toggles on, then, if that variable is set, toggle off. Part of that toggle-off process should be to clear the variable.
If what you are looking to do is toggle mobile data (without root), then AutoApps plug-ins for Tasker is a way to go. AutoTools has a secure plugin that *may* be able to just do a simple toggle for you. Else AutoInput can "script" the touch sequences to toggle the quick tile.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Tried scripting with AutoInput. But I can't swipe backward from my notification drawer to get to the required place. AutoApps and AutoTools - I am just not clear as to what is the payment model these apps have at the moment. If you could demystify them it would be great.
Ps: the phone I use is Moto G4 Play.
deostroll said:
Tried scripting with AutoInput. But I can't swipe backward from my notification drawer to get to the required place. AutoApps and AutoTools - I am just not clear as to what is the payment model these apps have at the moment. If you could demystify them it would be great.
Ps: the phone I use is Moto G4 Play.
Click to expand...
Click to collapse
I must be having a senior moment I'm not sure what swiping backwards from the notification drawer means. Are you trying to get to the next page of quick tiles?
It's been awhile since I installed AutoTools. I seem to think that you install it for 30 days with everything unlocked, then pay for the plugin(s) you actually use.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Multi-window and Tasker

How can I close both apps in multi-window mode using Tasker? I'm on an unrooted Galaxy Note 8.
I am not particularly familiar with Samsung's multi window mode, but on a un-rooted device, I believe your best bet is to mimic the button presses you would normally do using the tasker plugin, AutoInput.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
I am not particularly familiar with Samsung's multi window mode, but on a un-rooted device, I believe your best bet is to mimic the button presses you would normally do using the tasker plugin, AutoInput.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Thanks, but I've already tried that with no success.
Why not post the description of the task that didn't work. Anything that you can do with your finger on the device, AutoInput is able to mimic.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Why not post the description of the task that didn't work. Anything that you can do with your finger on the device, AutoInput is able to mimic.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
I tried setting up an autoinput action to long click on multi-window navigation button using easy actions. And I've tried to use screen coordinates to do the same in autoinput. But I have had no success yet. I'm still working on it... maybe I should look into a kill app action...

Toggle "wifi calling"

Hi,
I am wondering if there is any way to toggle wifi calling setting on certain conditions.
I can't find any thing like that in the tasker app.
I am using Samsung note 8 with oreo.
Thanks.
There used to be an app or two in the play store that were plug-ins for tasker to help with this. They seem to be gone though.
I'm not aware of an intent (maybe it would be carrier specific and not excluded via intents?).
So that kinda leaves auto input as the defacto solution.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Tasker in Application List

Hello everyone,
I'm very new and I was hoping I can get some assistance from you.
I want to have my screen timeout changed when Im running Tasker in foreground. Is there any way to do this?
Thank you,
From the Tasker FAQ;
Why isn't Tasker shown in the Application Context list ?
Because it's easy to get into trouble firing tasks in Tasker. For example, if a profile is setup with a Tasker Application Context and a task with Load App Calculator, it will not be possible to enter Tasker anymore.
Click to expand...
Click to collapse
When the accessibility service is enabled for Tasker, the %WIN variable won't detect Tasker either. Of course, disabling accessibility prevents Tasker from intercepting what app is running.
It *might* be possible to do what you want using the app factory and making a kid app.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Categories

Resources