MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Steele <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 27 Mar 2013 21:45:50 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
On Mar 26, 2013, at 7:52 PM, Christopher Stone <[log in to unmask]> wrote:

> On Mar 26, 2013, at 16:46, Bill Steele <[log in to unmask]> wrote:
>> set redirectMessage to redirect theMessage 
>> etc.
>> send redirectMessage
> 
> ______________________________________________________________________
> 
> Hey Bill,
> 
> That's not enough to troubleshoot.
> 
> This works for me:
> 
> tell application "Mail"
>  activate
>  set msg to item 1 of (get selection)
>  set outGoingMsg to redirect msg with opening window
>  tell outGoingMsg
>    make new recipient at end of to recipients with properties {name:"Name", address:"[log in to unmask]"}
>    send
>  end tell
> end tell
> 
> --
> Best Regards,
> Chris
> 


That's what I'm doing.

Mountain Lion, Apple Mail 6.3. Have tried both from Applescript Editor window and compiled. No error messages. The dialog that does up to select a server says "Always use this server" but ayer selecting it the next message will still claim it doesn't know what server to use. Make new message works fine, and I notice that there is no redirect option in the regular menus.

What I'm trying to do here is forward a message with attachments ands a comment. IK guess it's possible to identify the attachments and reattach them, but it looks like a pain. 

Bill Steele
[log in to unmask]

ATOM RSS1 RSS2