Próbuję utworzyć nową wiadomość wychodzącą w programie Microsoft Outlook 2011 dla komputerów Mac, używając AppleScript
. Poniższy przykład pracował w 10.6.8
:Utwórz nową wiadomość wychodzącą z applescript w programie Microsoft Outlook
tell application "Microsoft Outlook"
set newMessage to make new outgoing message with properties {subject:"Hooray for automation"}
make new recipient at newMessage with properties {email address:{name:"Jim Shank", address:"[email protected]"}}
open newMessage
end tell
na lwa Dostaję następujący błąd:
Microsoft Outlook got an error: Can’t make class outgoing message.
Czy ktoś ma pojęcia, co poszło źle tam?
Używam programu Outlook w trybie offline.