I have created a pop-up dialog as part of a macro (by using: Notifications > Display Dialog).
Most of the time I close this dialog manually using the 'ok' button, but there are certain times when I want to automate the closing of this dialog.
How can I achieve this?
Most of the time I close this dialog manually using the 'ok' button, but there are certain times when I want to automate the closing of this dialog.
How can I achieve this?
- The 'Clear notifications' action does not work (presumably because it's a pop-up dialog and not a notification).
- UI Interaction sort of works, but it's too broad because it does not identify the exact dialog. The best that I could manage is to limit the click to the MacroDroid app, but this causes unwanted 'ui interaction' clicks on random menus within MacroDroid if the display dialog is not present when the UI interaction action is triggered. I don't want it clicking just anywhere within MacroDroid (which is what it's currently doing). I want the click action restricted to only the specific MacroDroid display dialog that needs closing (unless there is another way other than UI Interaction to get rid of the dialog).
- I can't find any kind of 'Constraint' that allows matching of the dialog's text in order to limit the UI Interaction click to only the desired display dialog.
Last edited: