Send an audio message Whatsapp.

djtide

New member
Hi, I'm new here. I need to create a macro for whatsapp to record and send an audio message to the same contact every time a button is pressed. Tried Ui interaction > identify in app. It does not work. Can anyone help me, which way should I go? thanks

WhatsApp Image 2022-11-12 at 21.28.18.jpeg
 

Endercraft

Moderator (& bug finder :D)
Go to UI Interaction, select click, X-Y location, press toggle touch location overlay, then go to whatsapp, press the record button and obtain the coordinates in the bar on top while you are pressing (should be : X : "" and Y : "").
Once you have noted the coordinates, go back to MacroDroid, exit the UI Interaction, and then configure it again.
Now select Gesture, input the X coordinates you noted in both Start X and End X and do the same with Y coordinates. That should work.
 

djtide

New member
Go to UI Interaction, select click, X-Y location, press toggle touch location overlay, then go to whatsapp, press the record button and obtain the coordinates in the bar on top while you are pressing (should be : X : "" and Y : "").
Once you have noted the coordinates, go back to MacroDroid, exit the UI Interaction, and then configure it again.
Now select Gesture, input the X coordinates you noted in both Start X and End X and do the same with Y coordinates. That should work.

Thanks, that worked :) but to record a message I need to hold button down and stop after it's released. With indefinite time, controlled precisely by pressing the button.
 

Endercraft

Moderator (& bug finder :D)
I also have this doubt, how to click and hold until there is another action
Use UI Interaction gesture instead (but only 20 seconds maximum is allowed for some reason). You need to input the same coordinates for start X,Y and end X,Y to simulate a long press.
 

toskayo

New member
Use UI Interaction gesture instead (but only 20 seconds maximum is allowed for some reason). You need to input the same coordinates for start X,Y and end X,Y to simulate a long press.
I need more than 20 seconds, there's a way to put an explanation of your explanation of putting xy twice, I didn't understand how to do that.
 

Endercraft

Moderator (& bug finder :D)
Why do you need more than 20 seconds, I'm curious what exactly you are doing that requires this?
There could be all kinds of reasons, but the thing is you may want to record more than 20 seconds.
Also adding a double click/gesture (with 2 touched coordinates) would be great.
 

Jacob L

Moderator (Lawsonator)
Why not use MacroDroid's record microphone action and then use intents and UI interaction action to send the new recording.
 
Top