On my tablet after pressing the hardware power button the power options appear. The pressing ausschalten (poweroff), the device turns off immediately, no additional confirmation popup.
Thanks for the answer, i will try this.
Related to the macro example of @dhj49er in answer #32 https://www.macrodroidforum.com/index.php?threads/action-to-close-restart-an-app-and-power-off-the-device.6358/post-38555 I created local variable PowerOff with Type "boolean", is that correct? Or it...
Sure but on the power options popup i see what the text of the power off button is. So if the language is also importent , in my case i use German as system language and the poweroff button is called "ausschalten". So i should type in "ausschalten" , right?
Or you mean the text could not be that...
thanks you, it sounds hopeful, i will try it.
But just for my knowledge: I often read in the forum here about following action UI interaction->click->poweroff. Since i can not find poweroff after selecting UI interaction and then Click, how can this action be implemented in macros? What am I...
Here it is.
For testing I set the time delay to 10sec.
In relation to the triggers in your macro i made lokal variable "PowerOff" set to true and then to false (see 2. screenshot at the bottom). But the Value Type i used was "boolean", is that right?
In the UI Interaction->Click I just wrote...
I click on PowerOff. There are some more power option listed, so i choose PowerOff. When executing the macro, the power options are displayed . Is that wrong?
Hi,
Ok my tablet seems to be able to show Power options when screen off and locked. But where to find [Power Off] when i choose UI Interaction -> Click? The Click options are On actual Focus/Text/XY/Application/ID ?!
@Winny57
Yes, this would be nice solution. I will have to try it but dont have MD installed here right now. Could you just post a screenshot of the macro too, so that i can look on it. Thanks
I can not find "else if" or do you mean simply another IF condition?
Further question:
I had situations that BT was enabled by me or by another app but I had not connected BT to another device. So in this case BT is just enabled but without connection. I would like to add in the macro that if...
Thank you, this might be the missing puzzle part.
In general the trigger connected/disconnected should refer to all bluetooth devices, not only to my phone. So i will change/adapt this in your macro suggestion. Or will this not work for "all devices"?
Further, the action condition ELSE IF is...