Text based UI automation for android automation apps Tasker and Macrodroid
| No | Features | Tasker | Macrodroid |
|---|---|---|---|
| 1 | Text based UI automation | ✔️ v6.6 |
✔️ v5.65.2 |
| 2 | Debug highlighter | ✔️ v6.6 |
✔️ v5.65.2 |
| 3 | Script builder | ✔️ v6.7 |
❌ |
Use text to build our automation, like AutoHotkey or AutoInput Action V2
Open Youtube today feed
openApp("Youtube");
click("Subscription");
click("Today");Open reddit on secondary display and scroll to r/tasker
setDisplay(21); // or setDisplay("scrcpy");
openApp("Reddit");
node = scrollTo("r/tasker");
click(node);
Important
Limited to Tasker. Macrodroid v5.65.2 doesn't suppport intercepting events in Java code.
React on click.
a11Y.set();
myEvent() {
String PackageName = "net.dinglisch.android.taskerm";
Source() {
String ViewIdResourceName = "net.dinglisch.android.taskerm:id/button_add_action";
return this;
}
onViewClicked(Object event) {
click("Filter");
}
return this;
}
String myEvent = myEvent();
String eventName = "Tasker add action";
a11Y.addEvent(eventName, myEvent);
Highlight actions and display brief information toast.
v3.mp4
Create and test UI automation script by choosing through dialogs.
o7qqpm.mp4
Important
This feature use material library available only on Tasker v6.7
Note
Macrodroid can't use material library due to missing compatible theme Theme.Material3