Dear All,
I’m sending mail using Lotus Script. and appending a folder path(configured) in the mail body.
My requirement is, i want to display this path with hyperlink… on click of that link need to open the folder.
suggest me how to go…!
thanks in advance,
Kiran
Subject: Display value as hyperlink… PLS HELP…
Like a regular hyperlink of http://
For “Windows” machine/networks you can use file link file://\srv\share\path
Subject: RE: Display value as hyperlink… PLS HELP…
Thanks for your reply…
yes you’re right… with the above link we can do…
But how to set the link with script…
I’m setting the values in mail body with the below code…
Call rtbody.AppendText(tempdoc.FTPPath(0))
Call rtbody.AddTab(1)
Call rtbody.AppendText(Ucase(Trim(tempdoc.UserName(0))) +" - " + Trim(tempdoc.StaffActivity(0)))
Call rtbody.AddNewline(1)
With the above code i’m able to print the FTPPath… But i want display the abobve FTPPath value with hyperlink(In client) and on click want to open that folder…
Subject: RE: Display value as hyperlink… PLS HELP…
Call rtbody.AppendText("file://\srv\share\path")
Subject: RE: Display value as hyperlink… PLS HELP…
You can’t easily make it into a link with LotusScript. However, there’s a client preference that automatically makes a link around any text that looks like a URL when you open the document in read mode: Or, you could do this using MIME, but it might have effects on the formatting of the rest of your memo.
Subject: RE: Display value as hyperlink… PLS HELP…
Can you manually create the kind of link you want? Because a hyperlink to a folder opens in a web browser when I try it. Is that what you want? Opening the folder in Windows Explorer I think would require you to shell out to Explorer (which I don’t think can be done in a hyperlink).
Subject: RE: Display value as hyperlink… PLS HELP…
thanks for your reply…
You’re true…
i mean to say… Just as hyperlink/action hotspot…
Call rtbody.AppendText(tempdoc.FTPPath(0))
Call rtbody.AddTab(1)
Call rtbody.AppendText(Ucase(Trim(tempdoc.UserName(0))) +" - " + Trim(tempdoc.StaffActivity(0)))
Call rtbody.AddNewline(1)
With the above code i’m able to print the FTPPath… But i want display the abobve FTPPath value with hyperlink(In client) and on click want to open that folder…