I am currently using...
- Code: Select all
tell application "Mail"
activate
set theNewMessage to make new outgoing message with properties {subject:"Subject TV Added", content:"For your viewing enjoyment, we have added " & theFile & " to your iTunes library, visible:true}
tell theNewMessage
make new to recipient at end with properties {address:"MyEmail@gmail.com"}
send theNewmessage
end tell
end tell
The error I am getting is Expected "," or "}" but found identifier. and it is highlighting MyEmail
I am a noob to applescript. Any Suggestions?