我创建了一个AppleScript程序,最后通过电子邮件发送一些包含链接的预定义文本,但我不知道如何制作它,因此网址实际上是一个链接,而不仅仅是文本。 有谁知道我是怎么做的?
到目前为止,这是我的代码:(不是说这个问题真的需要它)
set theFile to choose file tell application "Finder" to set fileName to name of theFile
set fileName to (text 1 thru ((length of fileName) - 3) of fileName)
set presetText to "Hello,
Files Uploaded:
" & fileName & "
To access our FTP Server:
http://217.207.130.162:8080/WebInterface/login.html
To access our FTP server, log onto our website below:
Username:
Password:
Thanks,
Joe"
tell application "Mail"
activate
set theMEssage to make new outgoing message with properties {visible:true, subject:fileName, content:presetText}
end tell
答案 0 :(得分:1)
正如我在你对你的帖子的评论中提到的,没有什么可做的。发送电子邮件时,可以为收件人点击链接。它会自动发生。通过向自己发送电子邮件自行测试。