Since I installed Sierra I can't get a piece of AppleScript working which worked before.
I'm trying to create a message (in Apple Mail) with a signature, but keep getting errors.
I used to create/fill the message like this:
set msg to make new outgoing message with properties {content:messageContent}
set message signature of msg to signature "X"
Before Sierra this worked perfect, now I'm getting an error saying: Mail got an error: AppleEvent handler failed.
So I tried several things and ended up (using AppleScript dictionaries) with:
set msg to make new outgoing message with properties {content:messageContent, message signature:signature "X"}
Which ends up in an error saying: Mail got an error: Can’t make class outgoing message.
Anyone who can help me out on this one?
This is a known bug. I had the same issue.
You also failed to mention that this is for Mail in your original reply. Might want to include the application in future posts!