• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Redirect a message in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirect a message in Mail


  • Subject: Re: Redirect a message in Mail
  • From: pete boardman <email@hidden>
  • Date: Thu, 9 Jun 2005 10:36:45 +0100

On 2005-06-09, at 07:59, Tim Mansour wrote:

I know Mail is quirky to script

:-) I don't think scripting Mail is reliable enough (yet).

redirect takes a boolean for invisibility; you could try setting that, in case the script doesn't like talking to an invisible message.

You could try targetting the first outgoing message rather than result of redirect:

tell outgoing message 1

but I can't get that working either.

Note that Apple's Create New Message script does work, so perhaps you could construct a message the hard way, rather than by using redirect:

tell application "Mail"
set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return}
tell newMessage
set visible to true
set sender to theSender
make new to recipient at end of to recipients with properties {name:theName, address:theAddress}
tell content
...



Perhaps Apple Mail's chief scripter has retired... (Wasn't he called cricket?)



Pete


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Redirect a message in Mail
      • From: Tim Mansour <email@hidden>
References: 
 >Redirect a message in Mail (From: Tim Mansour <email@hidden>)

  • Prev by Date: Re: Binary math operations (and, or, etc.)
  • Next by Date: Re: Redirect a message in Mail
  • Previous by thread: Redirect a message in Mail
  • Next by thread: Re: Redirect a message in Mail
  • Index(es):
    • Date
    • Thread