I am working with Entourage 2008. I am trying to programatically add an email address to the BCC field of a draft message. Here’s the code I have so far:
tell application "Microsoft Entourage"
if class of window 1 is draft window then
set theWindow to window 1
else
beep
display dialog "You must have a new message window open to use this command" buttons {"OK"} default button "OK" with icon 0
return
end if
set BCC recipients of theWindow to "WaitingFor"
end tell
The good news is that the script works. The contact (i.e., “WaitingFor”) is entered into the BCC field. However, the BCC is not displayed, so that I can get a visual confirmation. How can I do that?
Thanks.
Model: MacBook Pro 2.4 GHz
AppleScript: 2.0
Browser: Safari 523.10.6
Operating System: Mac OS X (10.5)