Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to send an email with automator and have a link that shows a couple words (for e.g. name of the site) instead of the whole URL like you can do with the add link inside of Mac OS. I have tried just writing the link as HTML as shown below but that didn't work. Is this possible?

<a href="">foo</a>
share|improve this question
I'm having difficulty understanding your question. Could you please give a few more details, or explain what it is that isn't working for you? – Dori Jan 2 '11 at 7:32
up vote 1 down vote accepted

This is not possible.

Mail's AppleScript API also does not allow for proper RTF mail. The following fails to create a proper mail body with links and everything, something clearly there in /Developer/Applications/Utilities/Clipboard Viewer (part of Xcode 4):

tell application "Mail"
    set theRTF to the clipboard rule «class rtf »
    set msg to make new outgoing message with properties {subject:"Test", content:theRTF}
    make new recipient at end of to recipients of msg with properties {address:""}
    send msg
end tell

You can try to use GUI scripting to copy&paste rich text using the clip board and the actual Copy/Paste menu items.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.