Hello all,
I'm trying to script what I thought would be a pretty simple event in Outlook, to accept meeting requests, but the syntax doesn't appear to be doing anything. Anyone have a brilliant solution?
It's not returning an error code, nor is it actually processing the selected message and accepted the invitation.
I'm trying to script what I thought would be a pretty simple event in Outlook, to accept meeting requests, but the syntax doesn't appear to be doing anything. Anyone have a brilliant solution?
Code:
tell application "Microsoft Outlook"
set selectedMessages to current messages
if selectedMessages is {} then
display dialog "Please select a message first and then run this script." with icon 1
return
end if
accept meeting sending response none
end tell
It's not returning an error code, nor is it actually processing the selected message and accepted the invitation.