Automate has this as a native flow action, and i'm actually surprised that I haven't seen this implemented natively in macrodroid. It does require root and it's actually something i use since macrodroid doesn't support it. To use this, create a flow in Automate linking the beginning block and...