• 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
scriptable Mail.app examples
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scriptable Mail.app examples


  • Subject: scriptable Mail.app examples
  • From: Derrell Piper <email@hidden>
  • Date: Wed, 27 Mar 2002 14:03:16 -0800

Anyone have any pointers to sample Mail.app AppleScripts you could point me at?

I'm trying to do something like the following, but the 'send msg' isn't sending (I get a status of '0', which I'm assuming is a failure):

tell application "OmniWeb"
set theLink to address of front browser
set theName to name of front window
end tell
tell application "Mail"
set msg to make new compose message at beginning of every compose message
set content of msg to theLink
set subject of msg to theName
set sender of msg to "..."
set to recipient of msg to "..."
send msg
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: scriptable Mail.app examples
      • From: cricket <email@hidden>
  • Prev by Date: Re: Which computer type
  • Next by Date: Re: Random Numbers fasters than the osax
  • Previous by thread: Re: Random Numbers fasters than the osax
  • Next by thread: Re: scriptable Mail.app examples
  • Index(es):
    • Date
    • Thread