Hi all
I am about to start tearing my hair our cause office 2011 is so frustrating.
Hopefully you can help.
All I’m wanting to do is compose a very simple email in outlook via applescritpt.
The issue is that outlook is rejecting any sort of return character i feed it.
Ive tried with the return command as well as Ascii characters 13 + 10 set to a variable.
here is the code:
set CrLf to (ASCII character 13) & (ASCII character 10)
set theText to "here is some text" & CrLf & CrLf & "now for some more text"
display dialog theText
tell application "Microsoft Outlook"
activate
set newMessage to make new outgoing message with properties {subject:"Captioms Registered in UltraCast Server", content:theText}
make new recipient at newMessage with properties {email address:{address:"afortunato@encompass-m.com"}}
--send newMessage
end tell
thanks in advance for the help.