Skip to content

Instantly share code, notes, and snippets.

View cdbeard's full-sized avatar

Christopher Beard cdbeard

View GitHub Profile
@gourneau
gourneau / email.scpt
Created July 8, 2013 05:29
AppleScript script to compose email using Microsoft Outlook
tell (current date) to get (it's month as integer) & "-" & day & "-" & (it's year as integer)
set MyDay to the result as text
set Mytitle to "Daily Email - " as text
set Mytitle to Mytitle & MyDay
tell application "Microsoft Outlook"
set newMessage to make new outgoing message with properties {subject:Mytitle}
make new recipient at newMessage with properties {email address:{name:"Name", address:"test@example.com"}}
#make new cc recipient at newMessage with properties {email address:{name:"Name", address:"test@example.com"}}