How to press on a number 0-9 when calling with MD ?

Christoph

Member
Hi, I have this macro started when I do a call to a given number:

1679083028781.png

The 1st UI works, but not the others for the 0-9 buttons.
Here is the phone graphical interface:

1679083002698.png
 

OscariBot

Active member
Yea x, y coordinate should work fine... But Id is more reliable even though some device makes it really difficult use
 

Christoph

Member
I have tried with x,y coordinate, it works. But it is so much more complex to setup 😥 and not easy to read/modify afterwards.
Can someone with a Samsung phone, share his experience about using dialpad_buttons command ? I wonder if it is just me or if it is for all Samsung users.
 
Last edited:

OscariBot

Active member
I just tried it on my old Samsung Galaxy and it works... But I don't knw for sure why using IDs didn't work with native macrodroid but it work perfectly with AutoInput plugins.
 

Endercraft

Moderator (& bug finder :D)
I just tried it on my old Samsung Galaxy and it works... But I don't knw for sure why using IDs didn't work with native macrodroid but it work perfectly with AutoInput plugins.
It probably means AutoInput uses a different ID system.
 

Jacob L

Moderator (Lawsonator)
Why not use the read screen contents action and store them in a variable and use those with UI interaction action to click
 

OscariBot

Active member
Why not use the read screen contents action and store them in a variable and use those with UI interaction action to click
I tried read screen, it seems not to read dialpad screen content on my Android 12 except I use AutoInput plugin... But it works well on my old Samsung Galaxy without plugin
 

Jacob L

Moderator (Lawsonator)
Before installing I wondering, if if this is a possible workaround with native MD:


but how it is possible to do that ?
Create a macro with shake trigger, action: read screen, set variable. Lock the device and put the screen on, shake and see your variable
 

Dimlos

Well-known member
I tried using AutoInput with Android 13 on a Samsung device.
It does indeed work with AutoInput.
 

Christoph

Member
I tried using AutoInput with Android 13 on a Samsung device.
It does indeed work with AutoInput.
Good news, so this workaround will work.

I am interested if it is possible to do it with native MD :
Create a macro with shake trigger, action: read screen, set variable. Lock the device and put the screen on, shake and see your variable

This is the content of the variable :
1679316107700.png

when shaking on the screen:
1679316132834.png


How to use this result ?
To me it confims:
1679316313264.png
should be working.
But in reality it is not the case.
 

Attachments

  • 1679316273182.png
    1679316273182.png
    14.9 KB · Views: 5

OscariBot

Active member
Good news, so this workaround will work.

I am interested if it is possible to do it with native MD :


This is the content of the variable :
View attachment 4926

when shaking on the screen:
View attachment 4927


How to use this result ?
To me it confims:
View attachment 4929
should be working.
But in reality it is not the case.
I advice you not to focus on Native macrodroid action on this....it seems not to work on some device but AutoInput work flawlessly
 
Top