How to paste at compose área Gmail?

When I run my macro, it should populate the destination, subject, and body.
I don't know what's is wrong but the body of Gmail message is not populated. I tried using WRITE and PASTE actions.

One thing to note is that AUTOINPUT doesn't appear at log. Instead there's a repetition of the beggining of my macro.
 

Attachments

  • Screenshot_20240326_170224_MacroDroid.jpg
    Screenshot_20240326_170224_MacroDroid.jpg
    1,002.7 KB · Views: 4

Dimlos

Well-known member
Import and run this macro.
The local variables body and subject will be entered into the email.
 

Attachments

  • Macro.jpg
    Macro.jpg
    242.7 KB · Views: 3
  • Gmail.jpg
    Gmail.jpg
    200.4 KB · Views: 3
  • Gmail_body_and_subject.macro
    3.8 KB · Views: 3
Please import my macro without modifying it and run it as is.
I did (see logs) and it frozen with cursor blinking at body field
 

Attachments

  • Screenshot_20240326_172756_MacroDroid.jpg
    Screenshot_20240326_172756_MacroDroid.jpg
    318.5 KB · Views: 2
  • Screenshot_20240326_172658_Files by Google.jpg
    Screenshot_20240326_172658_Files by Google.jpg
    952.2 KB · Views: 2
  • Screenshot_20240326_172451_Gmail.jpg
    Screenshot_20240326_172451_Gmail.jpg
    894.9 KB · Views: 2

Dimlos

Well-known member
We confirmed that the macro works correctly in the Galaxy S23 / Android 14 environment.
The Gmail app should start and the fields should be filled in.
 
When I use UI interaction I can fill the SUBJECT field but never BODY field.

Is it possible to attach files with sendto?

Thanks for your time and patience.

I will try, and try and try.

Rgds
 

Dimlos

Well-known member
UI interaction is not required because it is input using an intent.
Set the character string you want to be the body of the email in the local variable body.
 
UI interaction is not required because it is input using an intent.
Set the character string you want to be the body of the email in the local variable body.
I mentioned UI Interaction as another alternative that I am trying. But I guess that the reason why the BODY is not filled is the same in both cases (UI and SENDTO) and in AUTOINPUT option.
 
Thanks Dimlos.

I didn't what I need but learned a lot of things with your guidance. I've never heard before about intent, sendto, etc. Now I know that they exist.

It's night here but tomorrow I will make progress.

Good night
 

Dimlos

Well-known member
I presented a screenshot with the body entered, and I asked several people to verify it, and they all found the macro to work properly.
I think it's because of your environment.
 
Top