• 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
El Capitan & Mail Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

El Capitan & Mail Scripting


  • Subject: El Capitan & Mail Scripting
  • From: Christopher Stone <email@hidden>
  • Date: Sat, 03 Oct 2015 01:21:29 -0500

Hey Folks,

Well, this is sad...

-------------------------------------------------------------------------------------------
tell application "Mail"
  set selectedMessageList to selection

  

  if length of selectedMessageList = 1 then
    set theSelectedMessage to item 1 of selectedMessageList
    tell theSelectedMessage to set newOutgoingMessage to reply with opening window

    

    tell newOutgoingMessage
      set subject to "Does it work?"
    end tell

    

  end if

  

end tell
------------------------------------------------------------------------------------------

Has anyone else had greater success?

Thanks.

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: El Capitan & Mail Scripting
      • From: Ray Robertson <email@hidden>
    • Re: El Capitan & Mail Scripting
      • From: Jean-Christophe Helary <email@hidden>
  • Prev by Date: Re: Exit Repeat
  • Next by Date: Re: El Capitan & Mail Scripting
  • Previous by thread: Scripting SAPGUI for Java
  • Next by thread: Re: El Capitan & Mail Scripting
  • Index(es):
    • Date
    • Thread