format urls and file paths as links

Idea created by danelle on Nov 8, 2013
    New
    Score10
    • danelle
    I would like to be able to write a message to the results window that points the user to the log file my script tool created that is automatically recognized and functions as a hyperlink to open that file or url. The AddErrorMessage function uses a hyperlink on the error id to link to the error description - why can't this functionality be available to all message types and have flexible options!

    I have tried using the following text with the AddMessage function without any success:
    <a href=\"c:\temp\myfile.xls\">Open the Log file</a>
    <a href=\"http://www.cnn.com\">Open the Log file</a>
    and many others