Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

204 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The codes in this repo were mainly generated with the assistance of AI tools.

 

Accessibility Action

Text based UI automation for android automation apps Tasker and Macrodroid

Downloads Stable Beta

 

Features

Summary

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

 

1. Text based UI automation

Tasker Macrodroid

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);

 

2. Debug highlighter

Tasker Macrodroid

Highlight actions and display brief information toast.

v3.mp4

 

3. Script builder

Tasker

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

 

 

FAQ

  1. What is a11Y?
  2. Why this won't work on some screen?
  3. How to use this wihtout taskernet project?

About

Text based UI automation for Tasker and Macrodroid

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages