문제

I've created an applescript program that ends with emailing some predefined text including a link, but I've no idea how to make it so the web address is actually a link instead of just text. Does anyone know how I'd go about doing that?

Here's my code so far: (not that it's really needed for this problem)

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
도움이 되었습니까?

해결책

As I mentioned in my comment to your post, there's nothing to do. When the email is sent the link will be clickable for the recipient. It happens automatically. Test it yourself by sending the email to yourself.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top