Close recent apps

Deimon

New member
I have a doubt about how "UI interaction" works.

If in a macro I insert in the actions: Android shortcut and then Show recent apps, on that page it is not possible to interact, there is no way.
Click, Gesture, nothing seems to work.

I knew that from scripts it was not possible to kill apps, but I hoped that simulating human interaction was possible.

In case where did I go wrong?
Thank you
 

Pseudocyclic

Well-known member
You will almost certainly need to insert a Wait action of significant duration immediately before the UI Interaction action, if you have not already done so. This is because MacroDroid will proceed from Show Recent Apps to UI Interaction much faster than Android can process the Show Recent Apps request, display the revised UI, and make its components available to be interacted with.
 

Deimon

New member
You will almost certainly need to insert a Wait action of significant duration immediately before the UI Interaction action, if you have not already done so. This is because MacroDroid will proceed from Show Recent Apps to UI Interaction much faster than Android can process the Show Recent Apps request, display the revised UI, and make its components available to be interacted with.
Thank you very much for your reply, I noticed the speed of the actions and for this reason between each of these I always put a delay.

It is probably as the administrator says.
On some devices there is a button to close all open apps, on my Huawei P10 lite instead there is a trash can icon, perhaps it cannot locate it.

In any case, I'm using the coordinates and in fact some numbers appear underneath me, how do you make that written "[Clear All]" appear?

Thanks for the support

(I'm sorry if it's not in English, but you should be able to interpret from symbols and numbers)
recentApps.jpegmacroDroid.jpeg
 
Last edited:
Top