AutoInput Simple Way - Tasker Tips & Tricks

Hey, is there a Simple Way to Build up AutoInput procedures? Easy Setup wont work very well.
Example:
. TASKER: Open SETTINGS
. AI: Find "Notifikations" + CLICK
. AI: Find "WhatsApp" + CLICK left Swipe-Button

Related

Custom Function on Search key

is it possible to give the search hardware key another function?
for example an app?
or i would love to have the on/off screen rotation function on it.
there is an app in the market that allows this but it is limited. it can only program one app to it, but you can make it any app you want. I have it programmed to the screenshot app, so i can take screenshots anytime i want without having to go back to homescreen.
the app is called "Button Shortcut". Depending on the app you want, there may be specific search shortcut apps in the market. I have one called "Call Button" and this programs the search key to also bring up the dialer to make calls since our nexus does not have a physical button for dial.
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
souljah2k said:
yeah that app is cool, but it only replaces the long press function of the search key.
is it also possible to replace the normal click?
Click to expand...
Click to collapse
Nope because the normal search screen can be handled by the active app.
I think in Cyanogenmod 7 you finally can do that.
l_Estat said:
I think in Cyanogenmod 7 you finally can do that.
Click to expand...
Click to collapse
in cm7, Settings > CyanogenMod Settings > Input.
You can set long press to custom application for the home and menu key
In addition, for the "search key" you can set custom app for both short & long key press.
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
[email protected] said:
For long press on Search button you can also use " LaunchKey " ... you can set any App you want or ... create a Menu of your favorite apps to lunch .
Click to expand...
Click to collapse
i've tried this and it works. and if my memory is correct you can change long press and quick press to 2 different functions
Do yourself a favor and get Tasker. Binding the search button to pretty much anything you'd want is just one of about a billion things you can do with it. If you don't want to spend the money, you can try an app called AutomateIt. I haven't used that one as much as Tasker, but it has similar functionality.
Some of my Tasker tasks are:
Automatically turn on WiFi when I'm in my apartment
Turn off bluetooth when I disconnect my headset
Automatically turn on the GPS when I open Google Maps
Automatically start Pandora when I plug headphones in
You basically give it a trigger (app launching, button pressed, incoming call, etc) and a set of actions to perform when that trigger is hit.

How Can I Create A Widget That Closes Recent Apps?

Hello,
How can I create widget "close recent app list" with tasker?ù
I know the command are input keyevent APP_SWITCH
input tap xxxx xxxx number.
thanks
linus2014 said:
Hello,
How can I create widget "close recent app list" with tasker?ù
I know the command are input keyevent APP_SWITCH
input tap xxxx xxxx number.
thanks
Click to expand...
Click to collapse
Can you be a little more specific? Are you trying to just close out of all of your recent apps?
In my device p8lite close recent app, first I press type recent button, after though verticals swipe close recent app.
DrGreenway said:
Can you be a little more specific? Are you trying to just close out of all of your recent apps?
Click to expand...
Click to collapse
input swipe x1 y1 x2 y2 i do not know where to take the value for vertical swipe
So if I understand correctly you're wanting to close only the most recent app that you have used and not all of them. If so, you might want to check out this reddit thread. I believe this will have the solution to your problem.
https://www.reddit.com/r/tasker/comments/1xn05u/use_tasker_to_close_app_as_though_it_was_swiped/
Now try thanks
DrGreenway said:
So if I understand correctly you're wanting to close only the most recent app that you have used and not all of them. If so, you might want to check out this reddit thread. I believe this will have the solution to your problem.
https://www.reddit.com/r/tasker/comments/1xn05u/use_tasker_to_close_app_as_though_it_was_swiped/
Click to expand...
Click to collapse
Not work, other solutions?
Use plugin AutoInput:
A1. AutoInput > Global Action > Recent Apps
A2. AutoInput > Click > Close All
Then just save the Task and create a Tasker homescreen widget for it. In A2 you may need to use AutoInput's Easy Setup mode to get the element_name/text for the Close All button on your device.
Ratchet_Guy said:
Use plugin AutoInput:
A1. AutoInput > Global Action > Recent Apps
A2. AutoInput > Click > Close All
Then just save the Task and create a Tasker homescreen widget for it. In A2 you may need to use AutoInput's Easy Setup mode to get the element_name/text for the Close All button on your device.
Click to expand...
Click to collapse
in my device I close recent app with vertical swiping, From the bottom to the top (p8lite)
can you tell me the procedure for A2

wait till a button is clickable? (Tasker & TouchTask)

hey,
i try to make ccleaner a little bit more comfortable with tasker & touchtask.
it works so far, i open ccleaner, tap with the touchtask plug-in the "analyze" button, now the "clean" button is not clickable till the analysis is finished.
now my question: is it possible to determine when the "clean" button is ready to click with touchtasker or any other plug-in??
it would be nice if somebody could help me out, thanks
have a nice day jpm
JPM1042 said:
hey,
i try to make ccleaner a little bit more comfortable with tasker & touchtask.
it works so far, i open ccleaner, tap with the touchtask plug-in the "analyze" button, now the "clean" button is not clickable till the analysis is finished.
now my question: is it possible to determine when the "clean" button is ready to click with touchtasker or any other plug-in??
it would be nice if somebody could help me out, thanks
have a nice day jpm
Click to expand...
Click to collapse
FYI regarding TouchTask......that app is basically a clone of AutoInput. The dev of TouchTask has been more or less hi-jacking many Tasker plug-ins from Joaoapps (developer of Autoinput and moreover the entire AutoApps suite).
I would recommend looking into AutoInput for your task. AutoInput can be set to repeatedly check for when a button is available before actually pressing it. Read the tutorials to familiarize yourself.

Click with tasker on Element

Hello,
I try to make a little automation for a app.
It works via Execute shell "input tap x y"
but now i have a big problem, on different screensresolutons the button had other positions.
so i made a task that calculate the position based on your screenresolution.
now i have a even bigger problem. Same screenresolution, other phone, other position.
I found some samplecode, but i don't know how to put this in tasker, or if this even works.
driver.findElementByName("SignIn").click();
public void tap(int index){
List<WebElement> li = driver.findElementByClass("PUT YOUR class name");
li.get(0).click();
}
There is a plugin called AutoInput.
See if that works for you.
(Note: it doesn't work on webview based apps)
Autoinput doesn't work. I'm new, i had to split the link i mg u r . c om /jWrlAVI
I want to export the app as APK, so plugins won't work.

S Pen Button Remap (Bluetooth Single/Double/Long Press, Hover)

Hi,
This guide will show you how to remap your Spen/Stylus Bluetooth button + Hover action + button press while hovering the screen to any action/app/task you want.
This guide will only show beginners guide. Further per app action configuration is not shown. It is DIY but if you want to share your configuration, you are welcome here.
Requirements (will not work without these) :
1. Samsung OneUI Based Roms (Sure will not work on lineage)
2. Spen/Stylus with Bluetooth capabilities (Knock offs will not work)
3. Spen/Stylus paired to your phone and Air actions enabled
4. Tasker Latest Beta (As its Tasker guide)
5. Note 9 (Oneui 2.0/2.1)
My Configuration:
Device: N960F Exynos
Rooted: Yes
How to:
1. Import Tasker projects from link below (Extremely Beginner Friendly)
Links:
Download
Steps:
Download above file
Import to Tasker
Enable it and Then detach spen to use it
Change Task or Try it out first
OR
2. DIY and Other methods of hover/Single press while hover will be soon posted.
Troubleshoot:
• Remap does not work:
1. Check requirements again
2. Make sure Tasker is not disabled/Profile is not disabled
3. Make sure necessary permissions are given to Tasker already.
4. You will need to check point 2 in How to guide above and find button clicks for your device if they are different and replace above with your ones.
• Other actions also initiates/duplicate actions:
1. If long press is defined in Settings > Spen > Air Actions then assign it to Tasker secondary app and detach Spen > long press > popup comes about secondary app > disable it
2. Disable per app actions in Settings > Spen > Air Actions
3. Turn off Air command if you want button pressed while hovering remap
4. If you want to disable customisation while in particular app, in tasker profile like in above project Single Click -> long press on current context -> add context -> application -> select applications and tick invert box at bottom -> press back (Example already added in the project file)
Further DIY:
1. Per app configuration
2. Initiate multiple actions/shortcuts/activities
3. Create an app out of it (However Tasker is superior with many options)
Tags:
Ble Stylus Spen note note9 note10 capacitive remote air action airaction
2. Spen/Stylus with Bluetooth capabilities (Knock offs will not work)
what does it mean?
and please share tasker download link
amirfrkhi said:
2. Spen/Stylus with Bluetooth capabilities (Knock offs will not work)
what does it mean?
and please share tasker download link
Click to expand...
Click to collapse
Counterfeit Spen will not work that do not possess bluetooth capabilities.
Tasker Link: Download
Error
when i import it said error. contain bad data
amirfrkhi said:
when i import it said error. contain bad data
Click to expand...
Click to collapse
Which tasker version you are using? I reinstalled tasker just for you and used same file and imported it with no problems. Are you importing as project or 3 dots->data->restore? It should not fail.
Reattaching file for you to this reply. Extract it and import. Hope it works.

Categories

Resources