scriptable Mail.app examples
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.