TouchTask examples?

MartinNL123

New member
Hi,

I looked at TouchTask to improve UI interactions for clicking at a certain location based on pixel color.
I installed it, that was the easy part, but how to use it? I checked the Tapatalk forum but could not find an example on how to use it.
Are there any examples of macros that use TouchTask? I learn well by example :).
 

MacroDroidDev

Administrator
Staff member
You can invoke it using the locale/tasker plugin action. I'm afraid I'm not able to advise on how to use third party plugins as I don't have any knowledge beyond what you can find out yourself.
 

tanutanu

Well-known member
Ah, that is how to start it, just shows my noob level :).
Thanks for that pointer, missed this piece of information.....
I tried to do that and got it.
see attached images:)
 

Attachments

  • Screenshot_2021-02-27-04-16-14-559_com.arlosoft.macrodroid.jpg
    Screenshot_2021-02-27-04-16-14-559_com.arlosoft.macrodroid.jpg
    313.1 KB · Views: 341
  • Screenshot_2021-02-27-04-16-23-048_com.balda.touchtask.jpg
    Screenshot_2021-02-27-04-16-23-048_com.balda.touchtask.jpg
    211.5 KB · Views: 345
  • Screenshot_2021-02-27-04-16-52-743_com.arlosoft.macrodroid.jpg
    Screenshot_2021-02-27-04-16-52-743_com.arlosoft.macrodroid.jpg
    301.6 KB · Views: 332
  • screenshot_2021-02-27-04-15-44.jpg
    screenshot_2021-02-27-04-15-44.jpg
    299.5 KB · Views: 317
  • screenshot_2021-02-27-04-17-11.jpg
    screenshot_2021-02-27-04-17-11.jpg
    292.6 KB · Views: 316

MartinNL123

New member
Ah, cool example. Thanks, will try that.
I also thought to look at templates, I found at least one example already, but not so easy to understand, your example seems more straightforward!
 

tanutanu

Well-known member
Yeah, understanding with a template is a little complicated because it doesn't explain the plugin setting itself, need some trials to find out what you want. I can understand how to pass the x,y value for this plugin. It was a good opportunity for me:)
 

MartinNL123

New member
I am now just using a timed wait loop to counter slow UI updates to be sure the button is there already. Would be great if I can check the color of the button to know it is there....., can try tomorrow!
 

tanutanu

Well-known member
I am now just using a timed wait loop to counter slow UI updates to be sure the button is there already. Would be great if I can check the color of the button to know it is there....., can try tomorrow!
If you can check button surface text by touchtask tap action, it could use as a trigger as well. So you don't need to make timer base loop. It might be better to check a app button text.
It is an example to tap a button every 30 second checking the sequence position. When you tap a button manually, Touchtask trigger detect it and progress the sequence position.
 

Attachments

  • readButtonSurface.png
    readButtonSurface.png
    180 KB · Views: 212

bernard

New member
Hello,

I tried the example given by tanutanu.
But I cannot get screen capture to work, at least it doesn't cache the variables correctly after being run.
Can anyone confirm this still works?
 

Dimlos

Well-known member
I made it and it works.
When I activated the macro, a confirmation dialog box appeared and the device slowed down until I restarted it, probably due to the capture.
It is possible to run the macro as a test, but it is difficult to use it regularly.
 

Attachments

  • Macro.jpg
    Macro.jpg
    492.1 KB · Views: 68
  • Ditect_Screen_Color.macro
    4.5 KB · Views: 27

bernard

New member
I made it and it works.
When I activated the macro, a confirmation dialog box appeared and the device slowed down until I restarted it, probably due to the capture.
It is possible to run the macro as a test, but it is difficult to use it regularly.
Hmm I tried the macro you supplied but they variables only got cleared and not set.
I wonder if the issue has something to do with it being a Huawei phone since there was info regarding problems with that.
I will read abit more on that area.
Thank you for the quick response also!
 

laplacer

New member
If you can check button surface text by touchtask tap action, it could use as a trigger as well. So you don't need to make timer base loop. It might be better to check a app button text.
It is an example to tap a button every 30 second checking the sequence position. When you tap a button manually, Touchtask trigger detect it and progress the sequence position.
It said touchtask is not available on my version of android(the newest one). Any alternative? maybe tasker work as well?
 

MacroDroidDev

Administrator
Staff member
@laplacer Touch Task is available on Android 14 beta so it is clearly available on the latest version of Android.

You can probably acquire the legitimate apk from apkpure.com if the Play Store is being a pain.
 

Shajirr

New member
I tried using TouchTask Screen Capture action, and it doesn't work - any time the action is activated, I get a message dialogue covering half a screen with "Start recording or casting with TouchTask?" with options "Cancel" and "Start now"
This happens every single time, and doesn't matter what I choose.
No variables that I assigned for path, color code and color name get anything written into them.

Phone is Samsung Galaxy S10e

Any ideas if its possible to fix this?
 
Top