How to set cursor in subject field for emai macro


I wrote the attached macro to send an email to a specific person which works fine, except that when I trigger the macro, I would like the cursor to be in the subject field, not in the body of the message.
Can't figure out how to do it.

thanks very much !

Hey Ronald,

The easiest way is to use a Type a Keystroke action to type after the Send Mail Message action.

It can also be done in a more bombproof fashion with AppleScript and System Events, but that’s a lot more complicated.


1 Like

Works perfectly. Thanks so much !

You could also start with at User Input-action, which ask for a Subject-variable.
Use this variable to fill in the subject.
Then the new message is ready for you to fill in the body.

1 Like