UI Interaction work not properly

odin774

New member
Hey there,

i have a Macro Routine with 2 UI Interactions within. From time to time,the 2nd UI Interaction doesn't works. Strange thing is,the 1st UI interavtion works always.only the 2nd doesn't work. In protocoll is no error displayed. Its the same problem on Samsung galaxy s21 with android 11 and a Samsung galaxy s10 with the latest update. Reinstalling fix it but only temporarily. Ist there a Workaround ? It would be great if this can be solved. Thanks in advance!
 

Jacob L

Moderator (Lawsonator)
Recent MacroDroid version has added the ability to set the click result to a variable so if it's failed, you can perform it again.

You could put a wait before next action between each UI interaction actions
 

odin774

New member
Recent MacroDroid version has added the ability to set the click result to a variable so if it's failed, you can perform it again.

You could put a wait before next action between each UI interaction actions
Thanks for answering. A delay time is set,that's not the cause of my problem. Until yesterday it works fine at all but now isn't working anymore. Reinstalling,cleaning cache etc. Doesn't helps too. How I can setup a variable?
 

Jacob L

Moderator (Lawsonator)
Thanks for answering. A delay time is set,that's not the cause of my problem. Until yesterday it works fine at all but now isn't working anymore. Reinstalling,cleaning cache etc. Doesn't helps too. How I can setup a variable?
Click the UI interaction action > configure > follow steps it allows you to do it that way
 

odin774

New member
Also make sure you update MacroDroid to latest version.
Thanks for replying, Latest version is installed but the 2nd ui doesn't work. Shirt explanation of the macro: specific time a website opens. 1st ui is click the login button, the 2nd ui is click a specific button after login. Delay times are set and until today it works proper. Sometimes this error occurred I was able to fix it with deactivate macro,clean cache etc. But this does not help anymore 🤷‍♂️
 

Endercraft

Moderator (& bug finder :D)
What does it say in System log ?
You can also use a read screen contents action at the time of clicking so you can check later if the text was detected.
 

odin774

New member
What does it say in System log ?
You can also use a read screen contents action at the time of clicking so you can check later if the text was detected.
Tried now the read option and this worked now. A few hours earlier don't... finger crossed it will be work again later,the routine comes 8 times a day. I hate the Samsung specific shutdown of ui interactions..... thank you for helping!
 

dhj49er

Well-known member
Thanks for replying, Latest version is installed but the 2nd ui doesn't work. Shirt explanation of the macro: specific time a website opens. 1st ui is click the login button, the 2nd ui is click a specific button after login. Delay times are set and until today it works proper. Sometimes this error occurred I was able to fix it with deactivate macro,clean cache etc. But this does not help anymore 🤷‍♂️
What is the delay before the 2nd UI action?

Have you tried a much larger delay, say 5s or 10s?

The 3nd ui is a click button - is this by test or x,y or by text id?

I have a Galaxy s23 and the UI actions work flawlessly.
 
Top