Script for BCC-ing each message to yourself

J

John Cradock

I have a user who wants to BCC a copy of each message to himself, as you can
do with the option in Mail. On this web page...

http://www.entourage.mvps.org/faq_topic/cc_bcc_fw.html

....there's this script...

tell application "Microsoft Entourage"
make new draft window with properties {recipient:{recipient type:
cc recipient, address:get address of me contact, display name:
get display name of me contact}}
end tell

....which should let you CC to yourself, but when I try to create the script
with Scipt Editor, I get an error that says "Syntax Error. Expected
expression but found end of line."

What am I doing wrong? Any help on this is appreciated.
 
E

Ed Kimball

I have a user who wants to BCC a copy of each message to himself, as you can
do with the option in Mail. On this web page...

http://www.entourage.mvps.org/faq_topic/cc_bcc_fw.html

...there's this script...


tell application "Microsoft Entourage"
make new draft window with properties {recipient:{recipient type:
cc recipient, address:get address of me contact, display name:
get display name of me contact}}
end tell

...which should let you CC to yourself, but when I try to create the script

with Scipt Editor, I get an error that says "Syntax Error. Expected
expression but found end of line."

What am I doing wrong? Any help on this is appreciated.

The problem is that the command is too long to fit on one line. Use the
continuation symbol ¬ (option-l) at the end of the lines inside the double
{} as follows:

tell application "Microsoft Entourage"
make new draft window with properties {recipient:{recipient type: ¬
cc recipient, address:get address of me contact, display name: ¬
get display name of me contact}}
end tell

Hope this helps.
 
J

John Cradock

The problem is that the command is too long to fit on one line. Use the
continuation symbol ¬ (option-l) at the end of the lines inside the double
{} as follows:

tell application "Microsoft Entourage"
make new draft window with properties {recipient:{recipient type: ¬
cc recipient, address:get address of me contact, display name: ¬
get display name of me contact}}
end tell

Hope this helps.

Thanks. I'll give this a try.
 
J

John Cradock

Thanks. I'll give this a try.

That solved it. Thanks. Is there a way to create a script that will do this
same "BCC to myself" function for replies and forwards as well?
 
J

John Cradock

I'm really curious as to why. Why not just keep the outbox or sent group
intact?

I'm not exactly sure why, but I'd like to give him the capability. I've got
a script for creating a new message with the sender in the BCC field. What
I'd like to do now is create a script that will do this with replies and
forwards. Do you know of a way to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top