Created
July 8, 2013 05:29
-
-
Save gourneau/5946401 to your computer and use it in GitHub Desktop.
AppleScript script to compose email using Microsoft Outlook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:"[email protected]"}} | |
#make new cc recipient at newMessage with properties {email address:{name:"Name", address:"[email protected]"}} | |
open newMessage | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks gourneau, now using this with Alfred.