Hi everybody,
I am new to eM Client and I like it a lot. Congratulations to the team for delivering such a great product.
I am using eM Client on a Mac and I tried to compose an AppleScript to retrieve the recipient name of an email in the Compose window so that I can insert a custom salutation such as “Hello Ms.” or "Hello Mr. " via AppleScript. Thereby I found that the recipient’s details are not accessible via AppleScript. For example, the script below should log all properties of the “To” text area but does not print out any, even if a recipient is set. Can you reproduce this behavior?
tell application "System Events"
tell process "eM Client"
set addressField to text area "An:" of window "test - Neue Nachricht"
log (properties of addressField)
end tell
end tell
Best regards
Andy